automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw114830 [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg()
       [not found] <1659365250-26455-1-git-send-email-maoyingming@baidu.com>
@ 2022-08-11  8:25 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-11  8:25 UTC (permalink / raw)
  To: test-report; +Cc: Mao YingMing

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/114830

_coding style issues_


WARNING:TYPO_SPELLING: 'allways' may be misspelled - perhaps 'always'?
#55: 
VFs's "bp->leds" is allways null, check bp->leds is

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!bp->leds'
#88: FILE: drivers/net/bnxt/bnxt_hwrm.c:4538:
+	if (BNXT_VF(bp) || (!bp->leds) || (!bp->leds->num_leds))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!bp->leds->num_leds'
#88: FILE: drivers/net/bnxt/bnxt_hwrm.c:4538:
+	if (BNXT_VF(bp) || (!bp->leds) || (!bp->leds->num_leds))

WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: maoyingming <maoyingming@baidu.com>' != 'Signed-off-by: Mao YingMing <maoyingming@baidu.com>'

total: 0 errors, 2 warnings, 2 checks, 8 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-11  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1659365250-26455-1-git-send-email-maoyingming@baidu.com>
2022-08-11  8:25 ` |WARNING| pw114830 [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg() 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).