diff options
| author | Bruce Allan <[email protected]> | 2019-04-16 17:21:21 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-05-04 21:30:05 +0000 |
| commit | c3a6825e825c73fbb24331b4804a2f589d0985cd (patch) | |
| tree | e4f150280cdb97721ce4bcf7a5e61afd4c99a0bb /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
| parent | ice: Refactor getting/setting coalesce (diff) | |
| download | kernel-c3a6825e825c73fbb24331b4804a2f589d0985cd.tar.gz kernel-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 <[email protected]>
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
0 files changed, 0 insertions, 0 deletions
