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 966A8A054A for ; Thu, 11 Aug 2022 10:25:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39F0B42C11; Thu, 11 Aug 2022 10:25:12 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id A52C842B8F for ; Thu, 11 Aug 2022 10:25:10 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9C1FD120775; Thu, 11 Aug 2022 10:25:10 +0200 (CEST) Subject: |WARNING| pw114832 [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg() In-Reply-To: <1659409422-6822-1-git-send-email-maoyingming@baidu.com> References: <1659409422-6822-1-git-send-email-maoyingming@baidu.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Mao YingMing Message-Id: <20220811082510.9C1FD120775@dpdk.org> Date: Thu, 11 Aug 2022 10:25:10 +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/114832 _coding style issues_ WARNING:TYPO_SPELLING: 'allways' may be misspelled - perhaps 'always'? #54: VFs's "bp->leds" is allways null, check bp->leds is CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!bp->leds' #87: 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' #87: 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