* [dpdk-test-report] |WARNING| pw68734 [PATCH 2/3] net/octeontx2: add tm packet marking cb
[not found] <20200417072254.11455-2-nithind1988@gmail.com>
@ 2020-04-17 7:24 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-04-17 7:24 UTC (permalink / raw)
To: test-report; +Cc: Nithin Dabilpuram
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/68734
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#213: FILE: drivers/net/octeontx2/otx2_tm.c:402:
+ "adjust 0x%" PRIx64 "(pktmode %u) red_alg %x (%p)",
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tm_node->red_algo == NIX_REDALG_SEND'
#348: FILE: drivers/net/octeontx2/otx2_tm.c:2959:
+ if ((red_send && (tm_node->red_algo == NIX_REDALG_SEND)) ||
+ (!red_send && (tm_node->red_algo != NIX_REDALG_SEND)))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tm_node->red_algo != NIX_REDALG_SEND'
#348: FILE: drivers/net/octeontx2/otx2_tm.c:2959:
+ if ((red_send && (tm_node->red_algo == NIX_REDALG_SEND)) ||
+ (!red_send && (tm_node->red_algo != NIX_REDALG_SEND)))
CHECK:CAMELCASE: Avoid CamelCase: <otx2_dev_is_95xx_Ax>
#626: FILE: drivers/net/octeontx2/otx2_tm.c:3249:
+ if (otx2_dev_is_95xx_Ax(dev) ||
CHECK:CAMELCASE: Avoid CamelCase: <otx2_dev_is_96xx_Ax>
#627: FILE: drivers/net/octeontx2/otx2_tm.c:3250:
+ otx2_dev_is_96xx_Ax(dev))
total: 0 errors, 0 warnings, 5 checks, 658 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-17 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200417072254.11455-2-nithind1988@gmail.com>
2020-04-17 7:24 ` [dpdk-test-report] |WARNING| pw68734 [PATCH 2/3] net/octeontx2: add tm packet marking cb 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).