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 9CB65A056A for ; Thu, 11 Mar 2021 12:05:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E24122A364; Thu, 11 Mar 2021 12:05:46 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id CCFE240689 for ; Thu, 11 Mar 2021 12:05:45 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id BD2F6493D; Thu, 11 Mar 2021 12:05:45 +0100 (CET) In-Reply-To: <20210311110325.3291203-3-andrew.rybchenko@oktetlabs.ru> References: <20210311110325.3291203-3-andrew.rybchenko@oktetlabs.ru> To: test-report@dpdk.org Cc: Andrew Rybchenko Message-Id: <20210311110545.BD2F6493D@dpdk.org> Date: Thu, 11 Mar 2021 12:05:45 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw88935 [PATCH 2/8] common/sfc_efx/base: add API to get VirtQ doorbell offset 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/88935 _coding style issues_ WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #92: FILE: drivers/common/sfc_efx/base/efx.h:4488: + __out uint32_t *offsetp); WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_t *' should also have an identifier name #105: FILE: drivers/common/sfc_efx/base/efx_impl.h:319: + efx_rc_t (*evo_get_doorbell_offset)(efx_virtio_vq_t *, WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint32_t *' should also have an identifier name #105: FILE: drivers/common/sfc_efx/base/efx_impl.h:319: + efx_rc_t (*evo_get_doorbell_offset)(efx_virtio_vq_t *, WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #129: FILE: drivers/common/sfc_efx/base/efx_virtio.c:220: + __out uint32_t *offsetp) WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #135: FILE: drivers/common/sfc_efx/base/efx_virtio.c:226: + if ((evvp == NULL) || (offsetp == NULL)) { WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #151: FILE: drivers/common/sfc_efx/base/efx_virtio.c:242: + if ((rc = evop->evo_get_doorbell_offset(evvp, offsetp)) != 0) ERROR:ASSIGN_IN_IF: do not use assignment in if condition #151: FILE: drivers/common/sfc_efx/base/efx_virtio.c:242: + if ((rc = evop->evo_get_doorbell_offset(evvp, offsetp)) != 0) ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #154: FILE: drivers/common/sfc_efx/base/efx_virtio.c:245: + return (0); ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #163: FILE: drivers/common/sfc_efx/base/efx_virtio.c:254: + return (rc); WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #179: FILE: drivers/common/sfc_efx/base/rhead_impl.h:499: + __out uint32_t *offsetp); WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #195: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:193: + __out uint32_t *offsetp) WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #246: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:244: + *offsetp = MCDI_OUT_DWORD(req, WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #249: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:247: + *offsetp = MCDI_OUT_DWORD(req, WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'? #260: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:258: + *offsetp = MCDI_OUT_DWORD(req, ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required #282: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:280: + return (rc); total: 4 errors, 11 warnings, 193 lines checked