Re: [PATCH -next] crypto: sa2ul - Fix pointer-to-int-cast warning

2020-08-28 Thread Herbert Xu
On Tue, Aug 18, 2020 at 10:00:01PM +0800, YueHaibing wrote: > drivers/crypto/sa2ul.c: In function ‘sa_sha_init’: > drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of > different size [-Wpointer-to-int-cast] >crypto_ahash_digestsize(tfm), (u64)rctx); >

[PATCH -next] crypto: sa2ul - Fix pointer-to-int-cast warning

2020-08-18 Thread YueHaibing
drivers/crypto/sa2ul.c: In function ‘sa_sha_init’: drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] crypto_ahash_digestsize(tfm), (u64)rctx); ^ ./include/linux/dev_printk.h:123:47: note: in