diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-12-13 07:52:32 -0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-23 11:52:44 +0800 |
commit | 2326828ee40357b3d2b1359b8ca7526af201495b (patch) | |
tree | db0654e201d1dc39af6aa45fa7629bcfc54bf53f /drivers/crypto/cavium/nitrox/nitrox_algs.c | |
parent | bfad6cb3f8295559216690e1eb9c99003a79b3a0 (diff) | |
download | linux-2326828ee40357b3d2b1359b8ca7526af201495b.tar.gz linux-2326828ee40357b3d2b1359b8ca7526af201495b.tar.bz2 linux-2326828ee40357b3d2b1359b8ca7526af201495b.zip |
crypto: mxc-scc - fix build warnings on ARM64
The following build warnings are seen when building for ARM64 allmodconfig:
drivers/crypto/mxc-scc.c:181:20: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
drivers/crypto/mxc-scc.c:186:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
drivers/crypto/mxc-scc.c:277:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
drivers/crypto/mxc-scc.c:339:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
drivers/crypto/mxc-scc.c:340:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Fix them by using the %zu specifier to print a size_t variable and using
a plain %x to print the result of a readl().
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_algs.c')
0 files changed, 0 insertions, 0 deletions