diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-08-21 21:34:02 -0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-25 16:17:27 +0530 |
commit | 3a919d5b43e459517492eb0f664b120877dfdd79 (patch) | |
tree | 734f6085a78d1b8e4c41b78481f67b767309bfdf /drivers/scsi/qla1280.c | |
parent | 4d1b80bf7a5ae9829b8c741bfab7d9e03533e6b1 (diff) | |
download | kernel_replicant_linux-3a919d5b43e459517492eb0f664b120877dfdd79.tar.gz kernel_replicant_linux-3a919d5b43e459517492eb0f664b120877dfdd79.tar.bz2 kernel_replicant_linux-3a919d5b43e459517492eb0f664b120877dfdd79.zip |
dma: ste_dma: Fix warning when CONFIG_ARM_LPAE=y
When CONFIG_ARM_LPAE=y the following build warning are generated:
drivers/dma/ste_dma40.c:3228:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3582:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3582:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3593:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat]
According to Documentation/printk-formats.txt '%pa' can be used to properly
print 'resource_size_t'.
Also, for printing memory region the '%pr' is more convenient.
Reported-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/scsi/qla1280.c')
0 files changed, 0 insertions, 0 deletions