diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-06-04 20:06:41 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-10 15:27:37 -0700 |
commit | 1ff5b64dccbf23acfe7993b9132b6992922a4756 (patch) | |
tree | ea179bd1c9972ee0c109c3e2fb8a7bc8de262b0d /drivers/tty/serial/m32r_sio.c | |
parent | 2b844ad2bfdb6e21e6490f3a80f67d869c10df4a (diff) |
serial: samsung: Use %pa to print 'resource_size_t' type
When building multi_v7_defconfig with CONFIG_ARM_LPAE=y the following warning
is seen:
drivers/tty/serial/samsung.c: In function 's3c24xx_serial_init_port':
drivers/tty/serial/samsung.c:1229:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t' [-Wformat]
Use %pa to print 'resource_size_t' type to fix the warning.
Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/m32r_sio.c')
0 files changed, 0 insertions, 0 deletions