Age | Commit message (Expand) | Author | Files | Lines | Jiri Pirko | 1 | -0/+3 |
---|---|---|---|---|
2017-02-03 | net/sched: act_ife: Change to use ife module | Yotam Gigi | 2 | -78/+33 |
2017-02-03 | net/sched: act_ife: Unexport ife_tlv_meta_encode | Yotam Gigi | 1 | -2/+2 |
2017-02-02 | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net | David S. Miller | 2 | -85/+48 |
2017-02-02 | skbuff: add and use skb_nfct helper | Florian Westphal | 1 | -1/+1 |
parent | 040587af31228d82c52267f717c9fcdb65f36335 (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 'net/rxrpc/input.c')