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 AC822A0C41 for ; Mon, 2 Aug 2021 19:34:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4C1041147; Mon, 2 Aug 2021 19:34:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 000AD40140 for ; Mon, 2 Aug 2021 19:34:22 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id EF9FB12365F; Mon, 2 Aug 2021 19:34:22 +0200 (CEST) In-Reply-To: <1627925546-29982-4-git-send-email-navasile@linux.microsoft.com> References: <1627925546-29982-4-git-send-email-navasile@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Narcisa Ana Maria Vasile Message-Id: <20210802173422.EF9FB12365F@dpdk.org> Date: Mon, 2 Aug 2021 19:34:22 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw96554 [PATCH v12 03/10] 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/96554 _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 Warning in lib/eal/windows/rte_thread.c: Using %l format, prefer %PRI*64 if type is [u]int64_t