On Wed, Nov 27, 2013 at 01:28:38AM +0100, Laurent Pinchart wrote: > Use the %zu printk specifier to print size_t variables, and cast > pointers to unsigned long 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: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: linux-serial@xxxxxxxxxxxxxxx > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx> > --- > drivers/tty/serial/sh-sci.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html