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 58AF0A0A0C for ; Fri, 18 Jun 2021 23:28:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54BFF410F4; Fri, 18 Jun 2021 23:28:15 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id A1A38410DE for ; Fri, 18 Jun 2021 23:28:14 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9B77F122E3A; Fri, 18 Jun 2021 23:28:14 +0200 (CEST) In-Reply-To: <1624051606-26779-4-git-send-email-navasile@linux.microsoft.com> References: <1624051606-26779-4-git-send-email-navasile@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Narcisa Ana Maria Vasile Message-Id: <20210618212814.9B77F122E3A@dpdk.org> Date: Fri, 18 Jun 2021 23:28:14 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw94522 [PATCH v10 3/9] eal/windows: translate Windows errors to errno-style errors 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/94522 _coding style issues_ WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #135: FILE: lib/eal/windows/rte_thread.c:25: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT) #138: FILE: lib/eal/windows/rte_thread.c:28: + return EFAULT; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #143: FILE: lib/eal/windows/rte_thread.c:33: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EACCES) #148: FILE: lib/eal/windows/rte_thread.c:38: + return EACCES; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EEXIST) #151: FILE: lib/eal/windows/rte_thread.c:41: + return EEXIST; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EDEADLK) #154: FILE: lib/eal/windows/rte_thread.c:44: + return EDEADLK; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOSYS) #159: FILE: lib/eal/windows/rte_thread.c:49: + return ENOSYS; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #162: FILE: lib/eal/windows/rte_thread.c:52: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #215: FILE: lib/eal/windows/rte_thread.c:132: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #239: FILE: lib/eal/windows/rte_thread.c:150: + return EINVAL; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL) #260: FILE: lib/eal/windows/rte_thread.c:168: + return EINVAL; total: 0 errors, 11 warnings, 200 lines checked