From patchwork Wed May 17 06:44:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 13244264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CF4EC77B7D for ; Wed, 17 May 2023 06:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GMS/NpWEsppyQ85GgDcA7dfnFdBtdJzc+VEDhXH5mW8=; b=x2J8p+7xutA42q ZQv9ZvvXptrfcMCOcKl8K//+vhRR3+g0LMoip2icBiit5WUaSjAaxf1PpmHEWEqgcNojeBbmvB4L4 Q+ZaYp7Zs/qx/lo/NFtsXcoDwuNK1xQN/zgiqDhxSPZDnSnh3DANFwY11XmgXQ2zYSF+n0LaViGm7 phgH8QdlaYCHho4dhfDbQ2ZEi9MgOu1OpqzfnGEgsiGc2Fv3B5QkDpqklfIFw+lypruG3RGnPD7Lj u9OEsYFQsiJzQr/tzSULu7WlHRkTaZtn8G9zm3MoewwaX9TB1r1nHgk3IXxLm+nGIq79VM2PrJCh/ 8eU6gbWx4tyrPxByCVtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzAu4-008WSm-2K; Wed, 17 May 2023 06:44:52 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzAu1-008WR9-2j for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 06:44:51 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0D87F615A7; Wed, 17 May 2023 06:44:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DA59C433EF; Wed, 17 May 2023 06:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684305887; bh=KCTC5QHFyubfdtA0DbLUsXoNLZpdpf2o3rF8b4RQnsE=; h=From:To:Cc:Subject:Date:From; b=CKJR27JxWqz2KCsXRCrqY6ws4/FdVLu9FeqVqIR6GyTDmfahGGNQQrJEgnoosroyX oSsAPSXl+OMBALnQ/WxakvWzOr0bzw8JkAundReOxkPaOCqFSWi/hUJ3Az5KfV1+7H X97VrYP0M7+vqXNHNWxF1z8k76yw0jUleQses/rkVw0gs0v7Ttk2QFjGGgJBSc+oHS H/L5VagyLOk5vSvVu7/8sedSpa5EWjS5EQsLWZtgk2MZ3sdVJafT3Vg0Lgrm7cs6kK BHDjzSmSaSsYO5KCnuJI813aFY34o/YtUKu9u0Rz0TlehWDyr/z/Cj8/DEMxq+ZnDh W+M3Akh2NaRtg== From: Vinod Koul To: dmaengine@vger.kernel.org, Linus Walleij Cc: Vinod Koul , linux-arm-kernel@lists.infradead.org, kernel test robot Subject: [PATCH 1/2] dmaengine: ste_dma40: use correct print specfier for resource_size_t Date: Wed, 17 May 2023 12:14:33 +0530 Message-Id: <20230517064434.141091-1-vkoul@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_234449_934198_D98990B5 X-CRM114-Status: GOOD ( 12.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We should use %pR for printing resource_size_t, so update that fixing the warning: drivers/dma/ste_dma40.c:3556:25: warning: format specifies type 'unsigned int' but the argument has type 'resource_size_t' (aka 'unsigned long long') [-Wformat] Reported-by: kernel test robot Fixes: 5a1a3b9c19dd ("dmaengine: ste_dma40: Get LCPA SRAM from SRAM node") Signed-off-by: Vinod Koul Reviewed-by: Linus Walleij Reviewed-by: Linus Walleij --- drivers/dma/ste_dma40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index c30d00a78eed..56c839241a53 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -3542,8 +3542,8 @@ static int __init d40_probe(struct platform_device *pdev) } base->lcpa_size = resource_size(&res_lcpa); base->phy_lcpa = res_lcpa.start; - dev_info(dev, "found LCPA SRAM at 0x%08x, size 0x%08x\n", - (u32)base->phy_lcpa, base->lcpa_size); + dev_info(dev, "found LCPA SRAM at 0x%08x, size %pR\n", + (u32)base->phy_lcpa, &base->lcpa_size); /* We make use of ESRAM memory for this. */ val = readl(base->virtbase + D40_DREG_LCPA); From patchwork Wed May 17 06:44:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 13244324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EE32C77B7A for ; Wed, 17 May 2023 07:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Yic11EJvaujYhEPCGV6Jrsqzc52Klnb0OxtcbqW5b0g=; b=1k1MnU/97ixmTU B7zr/GyeMndluzhb6CsfETmwZ8Ft5R4+KhcjeftMQkXl+g+icrfUOwD4T2zR57L93T5EXShbXRzsG j8onINsZyrzBeCdXns367ARve2aMQ9fMvNNuvNQhsoTkZe5IGBssI/Rt+ESN8ow08NjR7ZXoTWRUq 8ZnaL5WezvrZ9hX/KsaQs/QOjgqv+Gige8x4svZSBsWzi88Qi7yoe81+IEN879Iowf8Fruh/n8leB j+Cy5+MYWswAm1kmTcYfHpE+0ODSUDujByUO8dA9Co6yuLaQKyRhbiQQovxWmNptA/24kNXW7ew2E VSx602lATtHDcr6EJwVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzBql-008is7-0v; Wed, 17 May 2023 07:45:31 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzAu3-008WRr-0F for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 06:44:52 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4D5766356D; Wed, 17 May 2023 06:44:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23DD1C433EF; Wed, 17 May 2023 06:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684305889; bh=biOktKWmlXXCOkgO66+JM7H4QrZR9B/VSDtRsZv+3Ks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HncMCuRljw09BLDgM9auY8tWiXcmH9OEyrUievYu9yVfcAS2E6G0GepFfmIKycKKw KP2XhhEu+b+lwzczsEOLo6R1ZjdibBVRpixTsT7wKnqreCaaMOo8X8js2boJ2PHBVF Vqrv1fgYkzFTKn8DHnzDceptz/jCQQZ7GFn0FSYWwiE4B58uxaSuiiP2ro5Oot3ppp kul/5HdJukCcuecgZCiKGOFU72Bnt1INGBgzCIIDKc/aMEjAmZnSCpywHBlrFBbjqD uTcmWqXbuGyiTJngG39U1wqlN96G7B4kEPXeSuevfEgK6HhVrHXyvGs/UAumtgWHrh gEG9ArtvEqElQ== From: Vinod Koul To: dmaengine@vger.kernel.org, Linus Walleij Cc: Vinod Koul , linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] dmaengine: ste_dma40: fix typo in enum documentation Date: Wed, 17 May 2023 12:14:34 +0530 Message-Id: <20230517064434.141091-2-vkoul@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517064434.141091-1-vkoul@kernel.org> References: <20230517064434.141091-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_234451_172526_C69BDB6B X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org s/40_command/d40_command to fix the below warning reported: drivers/dma/ste_dma40.c:151: warning: expecting prototype for enum 40_command. Prototype was for enum d40_command instead Signed-off-by: Vinod Koul --- drivers/dma/ste_dma40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 56c839241a53..2246a604256e 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -136,7 +136,7 @@ static const struct stedma40_chan_cfg dma40_memcpy_conf_log = { }; /** - * enum 40_command - The different commands and/or statuses. + * enum d40_command - The different commands and/or statuses. * * @D40_DMA_STOP: DMA channel command STOP or status STOPPED, * @D40_DMA_RUN: The DMA channel is RUNNING of the command RUN.