diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-22 01:00:55 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-06-22 01:06:18 +0300 |
commit | d0318fb3c388a4082a4ea2b94fc242cd5c064cea (patch) | |
tree | 63ff94bcf0b72c541c890ac2d88f3441ab436207 /drivers/ata/libata-trace.c | |
parent | 01efd6006d19848084b9fcba7f3963ed38c1cd6c (diff) | |
download | linux-d0318fb3c388a4082a4ea2b94fc242cd5c064cea.tar.xz |
ata: ftide010: fix resource printing
The new driver uses an incorrect format string for resource_size_t:
drivers/ata/pata_ftide010.c: In function 'pata_ftide010_probe':
drivers/ata/pata_ftide010.c:520:17: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
The nicest way to print the address is to pretty-print the resource
using %pR.
Fixes: be4e456ed3a5 ("ata: Add driver for Faraday Technology FTIDE010")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-trace.c')
0 files changed, 0 insertions, 0 deletions