summaryrefslogtreecommitdiff
path: root/pcap_mm.c
AgeCommit message (Expand)AuthorFilesLines
2013-07-13pcap_mm: Mark unused parameters with __maybe_unusedTobias Klauser1-3/+3
2013-07-13misc: fix multiple NULL pointer sparse warningsDaniel Borkmann1-2/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-2/+1
2013-06-04xio: rename xio to ioops and reduce its includesDaniel Borkmann1-1/+1
2013-06-03iosched: break out io scheduling functions from xutilsDaniel Borkmann1-0/+1
2013-04-09pcap_io: introduce init_once helper that is called with priviledgesDaniel Borkmann1-1/+5
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+197
bpf_numa.c?id=c73e44269369e936165f0f9b61f1f09a11dae01c'>tools/testing/selftests/net/reuseport_bpf_numa.c parent040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/reuseport_bpf_numa.c')