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 A894343EB4 for ; Sat, 20 Apr 2024 01:09:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEC6D41156; Sat, 20 Apr 2024 01:09:12 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BE87D40E8A for ; Sat, 20 Apr 2024 01:08:47 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B7BB6124858; Sat, 20 Apr 2024 01:08:47 +0200 (CEST) Subject: |WARNING| pw139565 [PATCH v4 06/45] net/hns3: use rte stdatomic API In-Reply-To: <1713568003-30453-7-git-send-email-roretzla@linux.microsoft.com> References: <1713568003-30453-7-git-send-email-roretzla@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Tyler Retzlaff Message-Id: <20240419230847.B7BB6124858@dpdk.org> Date: Sat, 20 Apr 2024 01:08:47 +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/139565 _coding style issues_ CHECK:SPACING: No space is necessary after a cast #126: FILE: drivers/net/hns3/hns3_cmd.c:47: + static RTE_ATOMIC(uint64_t) hns3_dma_memzone_id; CHECK:SPACING: No space is necessary after a cast #214: FILE: drivers/net/hns3/hns3_ethdev.c:102: + RTE_ATOMIC(uint64_t) *levels); CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #214: FILE: drivers/net/hns3/hns3_ethdev.c:102: + RTE_ATOMIC(uint64_t) *levels); ^ CHECK:SPACING: No space is necessary after a cast #304: FILE: drivers/net/hns3/hns3_ethdev.c:5680: +hns3_get_reset_level(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #304: FILE: drivers/net/hns3/hns3_ethdev.c:5680: +hns3_get_reset_level(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) ^ CHECK:SPACING: No space is necessary after a cast #367: FILE: drivers/net/hns3/hns3_ethdev.h:404: + RTE_ATOMIC(uint16_t) schedule; CHECK:SPACING: No space is necessary after a cast #370: FILE: drivers/net/hns3/hns3_ethdev.h:406: + RTE_ATOMIC(uint16_t) resetting; CHECK:SPACING: No space is necessary after a cast #373: FILE: drivers/net/hns3/hns3_ethdev.h:408: + RTE_ATOMIC(uint16_t) disable_cmd; CHECK:SPACING: No space is necessary after a cast #378: FILE: drivers/net/hns3/hns3_ethdev.h:412: + RTE_ATOMIC(uint64_t) pending; CHECK:SPACING: No space is necessary after a cast #381: FILE: drivers/net/hns3/hns3_ethdev.h:414: + RTE_ATOMIC(uint64_t) request; CHECK:SPACING: No space is necessary after a cast #390: FILE: drivers/net/hns3/hns3_ethdev.h:502: + RTE_ATOMIC(unsigned int) secondary_cnt; /* Number of secondary processes init'd. */ CHECK:SPACING: No space is necessary after a cast #399: FILE: drivers/net/hns3/hns3_ethdev.h:847: + RTE_ATOMIC(uint16_t) pf_push_lsc_cap; CHECK:SPACING: No space is necessary after a cast #408: FILE: drivers/net/hns3/hns3_ethdev.h:856: + RTE_ATOMIC(uint16_t) poll_job_started; /* whether poll job is started */ CHECK:SPACING: No space is necessary after a cast #417: FILE: drivers/net/hns3/hns3_ethdev.h:1000: +hns3_atomic_test_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #417: FILE: drivers/net/hns3/hns3_ethdev.h:1000: +hns3_atomic_test_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) ^ CHECK:SPACING: No space is necessary after a cast #428: FILE: drivers/net/hns3/hns3_ethdev.h:1009: +hns3_atomic_set_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #428: FILE: drivers/net/hns3/hns3_ethdev.h:1009: +hns3_atomic_set_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) ^ CHECK:SPACING: No space is necessary after a cast #436: FILE: drivers/net/hns3/hns3_ethdev.h:1015: +hns3_atomic_clear_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #436: FILE: drivers/net/hns3/hns3_ethdev.h:1015: +hns3_atomic_clear_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) ^ CHECK:SPACING: No space is necessary after a cast #444: FILE: drivers/net/hns3/hns3_ethdev.h:1021: +hns3_test_and_clear_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #444: FILE: drivers/net/hns3/hns3_ethdev.h:1021: +hns3_test_and_clear_bit(unsigned int nr, volatile RTE_ATOMIC(uint64_t) *addr) ^ CHECK:SPACING: No space is necessary after a cast #462: FILE: drivers/net/hns3/hns3_ethdev_vf.c:40: + RTE_ATOMIC(uint64_t) *levels); CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #462: FILE: drivers/net/hns3/hns3_ethdev_vf.c:40: + RTE_ATOMIC(uint64_t) *levels); ^ CHECK:SPACING: No space is necessary after a cast #646: FILE: drivers/net/hns3/hns3_ethdev_vf.c:2033: +hns3vf_get_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t) *levels) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #646: FILE: drivers/net/hns3/hns3_ethdev_vf.c:2033: +hns3vf_get_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t) *levels) ^ CHECK:SPACING: No space is necessary after a cast #691: FILE: drivers/net/hns3/hns3_intr.c:2036: + int num, RTE_ATOMIC(uint64_t) *levels, CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #691: FILE: drivers/net/hns3/hns3_intr.c:2036: + int num, RTE_ATOMIC(uint64_t) *levels, ^ CHECK:SPACING: No space is necessary after a cast #700: FILE: drivers/net/hns3/hns3_intr.c:2107: +hns3_handle_msix_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #700: FILE: drivers/net/hns3/hns3_intr.c:2107: +hns3_handle_msix_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) ^ CHECK:SPACING: No space is necessary after a cast #709: FILE: drivers/net/hns3/hns3_intr.c:2154: +hns3_handle_ras_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #709: FILE: drivers/net/hns3/hns3_intr.c:2154: +hns3_handle_ras_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels) ^ CHECK:SPACING: No space is necessary after a cast #773: FILE: drivers/net/hns3/hns3_intr.c:2540: +hns3_clear_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t) *levels) CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #773: FILE: drivers/net/hns3/hns3_intr.c:2540: +hns3_clear_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t) *levels) ^ CHECK:SPACING: No space is necessary after a cast #823: FILE: drivers/net/hns3/hns3_intr.h:174: +void hns3_handle_msix_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #823: FILE: drivers/net/hns3/hns3_intr.h:174: +void hns3_handle_msix_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); ^ WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint64_t' should also have an identifier name #823: FILE: drivers/net/hns3/hns3_intr.h:174: +void hns3_handle_msix_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); CHECK:SPACING: No space is necessary after a cast #824: FILE: drivers/net/hns3/hns3_intr.h:175: +void hns3_handle_ras_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); CHECK:SPACING: spaces preferred around that '*' (ctx:WxV) #824: FILE: drivers/net/hns3/hns3_intr.h:175: +void hns3_handle_ras_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); ^ WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint64_t' should also have an identifier name #824: FILE: drivers/net/hns3/hns3_intr.h:175: +void hns3_handle_ras_error(struct hns3_adapter *hns, RTE_ATOMIC(uint64_t) *levels); total: 0 errors, 2 warnings, 37 checks, 722 lines checked