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 33E40A00C2 for ; Fri, 1 Jul 2022 11:06:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30D4F40E03; Fri, 1 Jul 2022 11:06:00 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2178B40A7B for ; Fri, 1 Jul 2022 11:05:59 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 1D811120787; Fri, 1 Jul 2022 11:05:59 +0200 (CEST) Subject: |WARNING| pw113613 [PATCH 10/17] net/mana: implement memory registration In-Reply-To: <1656666167-26035-11-git-send-email-longli@linuxonhyperv.com> References: <1656666167-26035-11-git-send-email-longli@linuxonhyperv.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: longli@linuxonhyperv.com Message-Id: <20220701090559.1D811120787@dpdk.org> Date: Fri, 1 Jul 2022 11:05:59 +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/113613 _coding style issues_ WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #55: MANA hardware has iommu built-in, that provides hardware safe access to user WARNING:TYPO_SPELLING: 'registartion' may be misspelled - perhaps 'registration'? #57: expensive operation, this patch implements a two level memory registartion WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'. #246: FILE: drivers/net/mana/mp.c:50: + DRV_LOG(DEBUG, "MR (2nd) lkey %u addr %px len 0x%lx", + ibv_mr->lkey, ibv_mr->addr, ibv_mr->length); WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'. #430: FILE: drivers/net/mana/mr.c:90: + DRV_LOG(DEBUG, "MR lkey %u addr %px len 0x%lx", + ibv_mr->lkey, ibv_mr->addr, ibv_mr->length); total: 0 errors, 4 warnings, 0 checks, 573 lines checked Warning in drivers/net/mana/mp.c: Using %l format, prefer %PRI*64 if type is [u]int64_t