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 56F88A054F for ; Mon, 27 Jun 2022 19:53:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DE2340691; Mon, 27 Jun 2022 19:53:57 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 3D41F40685 for ; Mon, 27 Jun 2022 19:53:56 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 30B771230A5; Mon, 27 Jun 2022 19:53:56 +0200 (CEST) Subject: |WARNING| pw113481 [PATCH] raw/ioat: Check for the NULL pointer after calling malloc In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: 835703180@qq.com Message-Id: <20220627175356.30B771230A5@dpdk.org> Date: Mon, 27 Jun 2022 19:53:56 +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/113481 _coding style issues_ WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #91: FILE: drivers/raw/ioat/idxd_bus.c:306: + return ENOMEM; total: 0 errors, 1 warnings, 10 lines checked