aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-02-07 21:46:53 -0700
committerDavid S. Miller <davem@davemloft.net>2019-02-08 23:05:18 -0800
commit8b34ec65b3d070c492cc6aca960097ae74d6143a (patch)
tree2d894be0743d8e1278bfa68671550fae111af5d8 /drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
parentixgbe: Use struct_size() helper (diff)
downloadlinux-dev-8b34ec65b3d070c492cc6aca960097ae74d6143a.tar.xz
linux-dev-8b34ec65b3d070c492cc6aca960097ae74d6143a.zip
ethtool: Remove unnecessary null check in ethtool_rx_flow_rule_create
net/core/ethtool.c:3023:19: warning: address of array 'ext_m_spec->h_dest' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ext_m_spec->h_dest) { ~~ ~~~~~~~~~~~~^~~~~~ h_dest is an array, it can't be null so remove this check. Fixes: eca4205f9ec3 ("ethtool: add ethtool_rx_flow_spec to flow_rule structure translator") Link: https://github.com/ClangBuiltLinux/linux/issues/353 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c')
0 files changed, 0 insertions, 0 deletions