summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracerouter.c
diff options
context:
space:
mode:
authorLaurent Pinchart2013-12-11 13:40:31 +0100
committerSimon Horman2013-12-12 14:14:49 +0100
commite2afca6988c335d2ec7b66f2fadcd63286570bf8 (patch)
treeded4a896a5c13a2cedd26f9c745288aa48b67bcd /drivers/tty/n_tracerouter.c
parentLinux 3.13-rc1 (diff)
downloadkernel-qcow2-linux-e2afca6988c335d2ec7b66f2fadcd63286570bf8.tar.gz
kernel-qcow2-linux-e2afca6988c335d2ec7b66f2fadcd63286570bf8.tar.xz
kernel-qcow2-linux-e2afca6988c335d2ec7b66f2fadcd63286570bf8.zip
serial: sh-sci: Fix warnings due to improper casts and printk formats
Use the %zu and %pad printk specifiers to print size_t and dma_addr_t variables, and cast pointers to uintptr_t instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int. Cc: linux-serial@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/tty/n_tracerouter.c')
0 files changed, 0 insertions, 0 deletions