diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-08 14:39:32 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-07-08 14:39:32 +0200 |
commit | f62fa0ced46afc541ca617d4ea9524095a4839d7 (patch) | |
tree | 1952be6ca8d400c67fd15d6772219df3a0864abc /crypto/af_alg.c | |
parent | c8917b8ff09e8a4d6ef77e32ce0052f7158baa1f (diff) | |
download | linux-f62fa0ced46afc541ca617d4ea9524095a4839d7.tar.bz2 |
habanalabs: use %pad for printing a dma_addr_t
dma_addr_t might be different sizes depending on the configuration,
so we cannot print it as %llx:
drivers/misc/habanalabs/goya/goya.c: In function 'goya_sw_init':
drivers/misc/habanalabs/goya/goya.c:698:21: error: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'} [-Werror=format=]
Use the special %pad format string. This requires passing the
argument by reference.
Fixes: 2a51558c8c7f ("habanalabs: remove DMA mask hack for Goya")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions