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 E0039A0C4C for ; Thu, 19 Aug 2021 23:32:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D02F141229; Thu, 19 Aug 2021 23:32:32 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E48614124A for ; Thu, 19 Aug 2021 23:32:30 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id E1881122434; Thu, 19 Aug 2021 23:32:30 +0200 (CEST) In-Reply-To: <1629408694-31803-4-git-send-email-navasile@linux.microsoft.com> References: <1629408694-31803-4-git-send-email-navasile@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Narcisa Ana Maria Vasile Message-Id: <20210819213230.E1881122434@dpdk.org> Date: Thu, 19 Aug 2021 23:32:30 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw97133 [PATCH v14 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/97133 _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