* [dpdk-test-report] |WARNING| pw48055 net/i40e: fix X710 Rx issue after reading some registers
[not found] <1542168638-59416-1-git-send-email-beilei.xing@intel.com>
@ 2018-11-14 4:10 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-11-14 4:10 UTC (permalink / raw)
To: test-report; +Cc: Beilei Xing
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/48055
_coding style issues_
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x2b800'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x2bb00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x38700'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x38a00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x3d800'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x3db00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x208e00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x209000'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x20be00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x20c000'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x263c00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x264000'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset >= 0x265c00'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'reg_offset <= 0x266000'
#52: FILE: drivers/net/i40e/i40e_ethdev.c:11625:
+ if (((reg_offset >= 0x2b800) && (reg_offset <= 0x2bb00)) ||
+ ((reg_offset >= 0x38700) && (reg_offset <= 0x38a00)) ||
+ ((reg_offset >= 0x3d800) && (reg_offset <= 0x3db00)) ||
+ ((reg_offset >= 0x208e00) && (reg_offset <= 0x209000)) ||
+ ((reg_offset >= 0x20be00) && (reg_offset <= 0x20c000)) ||
+ ((reg_offset >= 0x263c00) && (reg_offset <= 0x264000)) ||
+ ((reg_offset >= 0x265c00) && (reg_offset <= 0x266000)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type != I40E_MAC_X722'
#73: FILE: drivers/net/i40e/i40e_ethdev.c:11678:
+ if ((hw->mac.type != I40E_MAC_X722) &&
+ !i40e_valid_regs(reg_offset))
total: 0 errors, 0 warnings, 15 checks, 45 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-14 4:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1542168638-59416-1-git-send-email-beilei.xing@intel.com>
2018-11-14 4:10 ` [dpdk-test-report] |WARNING| pw48055 net/i40e: fix X710 Rx issue after reading some registers checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).