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 18230A034F for ; Mon, 11 Oct 2021 16:54:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14356410D7; Mon, 11 Oct 2021 16:54:22 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 5F15940E50 for ; Mon, 11 Oct 2021 16:54:19 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 5B4D1120E00; Mon, 11 Oct 2021 16:54:19 +0200 (CEST) In-Reply-To: <20211011144857.446802-38-andrew.rybchenko@oktetlabs.ru> References: <20211011144857.446802-38-andrew.rybchenko@oktetlabs.ru> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andrew Rybchenko Message-Id: <20211011145419.5B4D1120E00@dpdk.org> Date: Mon, 11 Oct 2021 16:54:19 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw101077 [PATCH v2 37/38] net/sfc: implement the representor info API 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/101077 _coding style issues_ WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #374: FILE: drivers/net/sfc/sfc_switch.c:163: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #381: FILE: drivers/net/sfc/sfc_switch.c:170: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #465: FILE: drivers/net/sfc/sfc_switch.c:408: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOENT) #469: FILE: drivers/net/sfc/sfc_switch.c:412: + return ENOENT; CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #507: FILE: drivers/net/sfc/sfc_switch.h:55: +typedef void (sfc_mae_switch_port_iterator_cb)( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #527: FILE: drivers/net/sfc/sfc_switch.h:79: +int sfc_mae_switch_controller_from_mapping( total: 0 errors, 4 warnings, 2 checks, 441 lines checked