From mboxrd@z Thu Jan 1 00:00:00 1970 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 7EFEFC77B7D for ; Thu, 18 May 2023 11:30:15 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ft4taMSOAH6dWVUdLCWCT00QvrPtvdyAEqhJuQ/zoo0=; b=4Jmhi/eRKe5kpc 6sJ50+PLF/Bb9fTKybgB3knAv5ycII0SoNObp18vOhzEjcyIx7PRmd4Qp/1bwNoqku5+LxoIePZLh i2KFc3DXWh33aRcaSueY3Za2+Vsj7euaKv5/Ob/s+B/RAgaQcC1d6eSHRM1rhVChEYgjdQY2gXUz1 tY0+6cm35RpmPRFAIGsMMmH8g934uccfAv1ChqXlh/taBuaRXAqBDuz+H0dICU4JsPrScu1O4Ft7z yCwwXQYVeD/9OkBzRiApzzvx/5WmFqBn70/moQnkqhW1ECOKUvMt/0V1/pGalGykwVZuAy8owOk24 4EpW1rS1iJdNjTV8Ybww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzbpO-00CqMR-1f; Thu, 18 May 2023 11:29:50 +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 1pzbpL-00CqLO-1Q for linux-arm-kernel@lists.infradead.org; Thu, 18 May 2023 11:29:48 +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 4E97461B1D; Thu, 18 May 2023 11:29:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE5E7C433D2; Thu, 18 May 2023 11:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684409385; bh=9LI7Eie4pR+440TeZJdiGBPFtoSK4gvgmTsDZmYKKFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Le3Kna3snPDKjpmB1zmAwiiW1VvfTzhGf4sAoLzuUl7HOm56O+mPASd9b6E5BzqTA dXKi0PrnxW3yvADZzJzOvD3SbhWCr6/6hteVb/YwNwXsqnvjoGiZ0xldWAVHEFNEop 8l1qaQrzaGQORoiGExX223xDTu4Xjbjq294030AbknxOXdJtgWRgN01PswI3YKept4 rRu+zCv9CgpXvL94n9egxrH3BqePxw7h3bdO4WRZD85iS77yCm8pwfH9U+jsEN6cZT g086H1rn8PQCoQl3Sz0jJoaJQTCcbimbDxBM2JCuYQdxV61IkcxIE/vtZHEqFlVOMN kIwPuaZONj/wA== Date: Thu, 18 May 2023 16:59:41 +0530 From: Vinod Koul To: Arnd Bergmann Cc: Linus Walleij , Arnd Bergmann , Julia Lawall , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: ste_dma40: use proper format string for resource_size_t Message-ID: References: <20230517201951.619693-1-arnd@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230517201951.619693-1-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230518_042947_544504_94E952D7 X-CRM114-Status: GOOD ( 11.03 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17-05-23, 22:19, Arnd Bergmann wrote: > From: Arnd Bergmann > > When LPAE is set, both the dma_addr_t and resource_size_t become 64 bit > wide, causing a warning about the format string: > > drivers/dma/ste_dma40.c: In function 'd40_probe': > drivers/dma/ste_dma40.c:3539:23: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' {aka 'long long unsigned int'} [-Werror=format=] > 3539 | dev_info(dev, "found LCPA SRAM at 0x%08x, size 0x%08x\n", > > Change both to the special %pap and %pap helpers for these types. Already posted [1] and applied now [1]: https://lore.kernel.org/r/20230517064434.141091-1-vkoul@kernel.org -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel