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 C7142A0548 for ; Thu, 11 Aug 2022 10:25:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFAF342C2F; Thu, 11 Aug 2022 10:25:15 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 5E38A42C18 for ; Thu, 11 Aug 2022 10:25:12 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 4EC3D120782; Thu, 11 Aug 2022 10:25:12 +0200 (CEST) Subject: |WARNING| pw114831 [PATCH] net/bnxt: fix null pointer dereference in bnxt_hwrm_port_led_cfg() In-Reply-To: <1659365401-41425-1-git-send-email-maoyingming@baidu.com> References: <1659365401-41425-1-git-send-email-maoyingming@baidu.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Mao YingMing Message-Id: <20220811082512.4EC3D120782@dpdk.org> Date: Thu, 11 Aug 2022 10:25:12 +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/114831 _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