summaryrefslogtreecommitdiff
path: root/mausezahn
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-06-08 16:01:13 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-06-08 16:03:29 +0200
commitb7ece46f62b1fbece160cc7bd2905a6d0d3970a9 (patch)
tree738419a37cd797b5ecbd930d43ff0d5440177c0f /mausezahn
parentc00c007be4a00f299bde428068b4f93698256ee8 (diff)
netsniff-ng: nlmsg: Fix build for older kernel headers
IFA_FLAGS and RTPROT_MROUTED might not be defined on older kernel versions (as is evident from the Travis CI build failing [1]). Fix it by conditionally using the two definitions. [1] https://travis-ci.org/netsniff-ng/netsniff-ng/jobs/65887691 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'mausezahn')
0 files changed, 0 insertions, 0 deletions
git/diff/include/dt-bindings/clock/r8a73a4-clock.h?h=nds-private-remove&id=c73e44269369e936165f0f9b61f1f09a11dae01c&id2=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 'include/dt-bindings/clock/r8a73a4-clock.h')