From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Date: Wed, 7 Sep 2022 14:12:37 +0800 Subject: [PATCH v3] crypto: aspeed: fix format unexpected build warning In-Reply-To: <20220907033431.402208-1-neal_liu@aspeedtech.com> References: <20220907033431.402208-1-neal_liu@aspeedtech.com> Message-ID: List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Sep 07, 2022 at 11:34:31AM +0800, Neal Liu wrote: > This fixes the following similar build warning when > enabling compile test: > > aspeed-hace-hash.c:188:9: warning: format '%x' expects argument of type > 'unsigned int', but argument 7 has type 'size_t' {aka 'long unsigned int'} > [-Wformat=] > > Reported-by: kernel test robot > Signed-off-by: Neal Liu > Acked-by: Randy Dunlap > --- > v3: Use "%pad" to print dma_addr_t type. > v2: Use "%zu" format to print size_t. > > drivers/crypto/aspeed/aspeed-hace-hash.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt