From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B96CA0548 for ; Thu, 11 Aug 2022 10:25:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19AC342C39; Thu, 11 Aug 2022 10:25:16 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E6EDE42C03 for ; Thu, 11 Aug 2022 10:25:13 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id D4AA01208AF; Thu, 11 Aug 2022 10:25:13 +0200 (CEST) Subject: |WARNING| pw114830 [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg() In-Reply-To: <1659365250-26455-1-git-send-email-maoyingming@baidu.com> References: <1659365250-26455-1-git-send-email-maoyingming@baidu.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Mao YingMing Message-Id: <20220811082513.D4AA01208AF@dpdk.org> Date: Thu, 11 Aug 2022 10:25:13 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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 ' != 'Signed-off-by: Mao YingMing ' total: 0 errors, 2 warnings, 2 checks, 8 lines checked