summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/norm_desc.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2019-04-16 10:21:21 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-04 14:30:05 -0700
commitc3a6825e825c73fbb24331b4804a2f589d0985cd (patch)
treee4f150280cdb97721ce4bcf7a5e61afd4c99a0bb /drivers/net/ethernet/stmicro/stmmac/norm_desc.c
parente40c899a64ca6222ea45a045b2d7a09491274163 (diff)
downloadblackbird-op-linux-c3a6825e825c73fbb24331b4804a2f589d0985cd.tar.gz
blackbird-op-linux-c3a6825e825c73fbb24331b4804a2f589d0985cd.zip
ice: Suppress false-positive style issues reported by static analyzer
A recent version of cppcheck falsely reports- Variable ip.hdr is assigned a value that is never used. ip is a union so the pointer ip.hdr is actually used when referenced as ip.v4 and ip.v6. Silence these false reports when using cppcheck with the --inline-suppr command-line option. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/norm_desc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud