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 8A5C7A04FF for ; Fri, 29 Apr 2022 15:54:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 859C5415D7; Fri, 29 Apr 2022 15:54:19 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9CF8B410E3 for ; Fri, 29 Apr 2022 15:54:17 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 88E211242B9; Fri, 29 Apr 2022 15:54:17 +0200 (CEST) Subject: |WARNING| pw110515 [PATCH] gpu/cuda: GPU_REGISTERED to distinguish GPU memory CPU mapped In-Reply-To: <20220429135251.1373996-1-eagostini@nvidia.com> References: <20220429135251.1373996-1-eagostini@nvidia.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20220429135417.88E211242B9@dpdk.org> Date: Fri, 29 Apr 2022 15:54:17 +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/110515 _coding style issues_ WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #261: FILE: drivers/gpu/cuda/cuda.c:1059: + * without calling cpu_unmap, force the unmapping. + */ WARNING:BRACES: braces {} are not necessary for single statement blocks #262: FILE: drivers/gpu/cuda/cuda.c:1060: + if (mem_item->mtype == GPU_REGISTERED) { + cuda_mem_cpu_unmap(dev, ptr); } total: 0 errors, 2 warnings, 152 lines checked