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: 13244262 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B491EC77B7A for ; Wed, 17 May 2023 06:45:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229614AbjEQGpA (ORCPT ); Wed, 17 May 2023 02:45:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjEQGot (ORCPT ); Wed, 17 May 2023 02:44:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 997A426B1 for ; Tue, 16 May 2023 23:44:48 -0700 (PDT) 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 0DC8A6360C for ; 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 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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 --- 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: 13244263 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E915AC77B7D for ; Wed, 17 May 2023 06:45:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbjEQGpB (ORCPT ); Wed, 17 May 2023 02:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjEQGow (ORCPT ); Wed, 17 May 2023 02:44:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4D883A82 for ; Tue, 16 May 2023 23:44:50 -0700 (PDT) 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 50B1363638 for ; 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 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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 Reviewed-by: Linus Walleij --- 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.