linux/drivers/video/fbdev/mmp
Arnd Bergmann c3a2da26e6 fbdev: mmp: print IRQ resource using %pR format string
resource_size_t cannot be printed using the %x format string
when we it is defined as u64:

drivers/video/fbdev/mmp/hw/mmp_ctrl.c: In function 'mmphw_probe':
drivers/video/fbdev/mmp/hw/mmp_ctrl.c:506:22: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
   dev_err(ctrl->dev, "%s: res %x - %x map failed\n", __func__,
                      ^
drivers/video/fbdev/mmp/hw/mmp_ctrl.c:506:22: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]

This changes the format string to %pR, which is interpreted
by the printk implementation to pretty-print a resource
structure.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-01-29 13:42:58 +02:00
..
fb video/mmpfb: allow modular build 2015-01-30 09:45:20 +02:00
hw fbdev: mmp: print IRQ resource using %pR format string 2016-01-29 13:42:58 +02:00
panel spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
core.c video: fbdev-MMP: Fix a typo for the word "destroyed" 2014-11-25 12:54:17 +02:00
Kconfig video: mmp: Remove references to CPU_PXA988 2014-04-30 11:36:48 +03:00
Makefile video/mmpfb: allow modular build 2015-01-30 09:45:20 +02:00