Messages in this thread | | | Date | Wed, 7 Sep 2022 14:12:37 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v3] crypto: aspeed: fix format unexpected build warning |
| |
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 <lkp@intel.com> > Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> > Acked-by: Randy Dunlap <rdunlap@infradead.org> > --- > 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 <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |