diff options
| author | Arnd Bergmann <[email protected]> | 2015-11-12 16:44:34 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-11-16 18:43:41 +0000 |
| commit | 0ba2cf70d23437161199e6b627f6948b47be9db4 (patch) | |
| tree | 12a0b4257798ad7bc99f01bd65255c60084d35e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 4.4-rc1 (diff) | |
| download | kernel-0ba2cf70d23437161199e6b627f6948b47be9db4.tar.gz kernel-0ba2cf70d23437161199e6b627f6948b47be9db4.zip | |
spi: bcm63xx: use correct format string for printing a resource
With a 64-bit resource_size_t, we get a build warning on bcm63xx_spi_probe:
drivers/spi/spi-bcm63xx.c:565:16: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
As we are printing a resource, we can just use the %pr format
specifier that pretty-prints the address and avoids the warning.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
