linux/drivers/crypto/cavium/nitrox
Srikanth Jampala 80e73c8ad6 crypto: cavium/nitrox - fix warnings while printing atomic64_t types
fix compilation warnings with nitrox_debugfs.c while printing
atomic64_t types on arm64. typecast the atomic64_read() value to u64

This issue is reported by Ard Biesheuvel

drivers/crypto/cavium/nitrox/nitrox_debugfs.c:62:30:
warning: format ‘%lld’ expects argument of type ‘long long int’,
         but argument 3 has type ‘long int’ [-Wformat=]
  seq_printf(s, "  Posted: %lld\n", atomic64_read(&ndev->stats.posted));
                              ^
Fixes: 2a8780be9c (crypto: cavium/nitrox - updated debugfs information)
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Reviewed-by: Gadam Sreerama <sgadam@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-10-05 10:22:48 +08:00
..
Kconfig Cavium CNN55XX: fix broken default Kconfig entry 2017-07-05 13:03:05 -07:00
Makefile crypto: cavium/nitrox - updated debugfs information. 2018-09-28 12:46:26 +08:00
nitrox_algs.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nitrox_common.h crypto: cavium/nitrox - Added support for SR-IOV configuration. 2018-09-14 14:08:53 +08:00
nitrox_csr.h crypto: cavium/nitrox - added support to identify the NITROX device partname. 2018-09-28 12:46:26 +08:00
nitrox_debugfs.c crypto: cavium/nitrox - fix warnings while printing atomic64_t types 2018-10-05 10:22:48 +08:00
nitrox_dev.h crypto: cavium/nitrox - updated debugfs information. 2018-09-28 12:46:26 +08:00
nitrox_hal.c crypto: cavium/nitrox - added support to identify the NITROX device partname. 2018-09-28 12:46:26 +08:00
nitrox_hal.h crypto: cavium/nitrox - added support to identify the NITROX device partname. 2018-09-28 12:46:26 +08:00
nitrox_isr.c crypto: cavium/nitrox - Added support for SR-IOV configuration. 2018-09-14 14:08:53 +08:00
nitrox_lib.c crypto: cavium/nitrox - use dma_pool_zalloc() 2018-09-21 13:24:49 +08:00
nitrox_main.c crypto: cavium/nitrox - updated debugfs information. 2018-09-28 12:46:26 +08:00
nitrox_req.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nitrox_reqmgr.c crypto: cavium/nitrox - add support for per device request statistics. 2018-09-28 12:46:26 +08:00
nitrox_sriov.c crypto: cavium/nitrox - Added support for SR-IOV configuration. 2018-09-14 14:08:53 +08:00