Hi Jingoo, Thank you for the patch. On Wednesday 05 February 2014 09:56:37 Jingoo Han wrote: > Fix the following compile warning about cast to pointer from > integer of different size. > > drivers/tty/serial/sh-sci.c:2021:19: warning: cast to pointer from integer > of different size [-Wint-to-pointer-cast] > > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Simon, Greg, how do you plan to handle sh-sci patches for v3.15 ? > --- > Changes since V1: > - Use uintptr_t instead of unsigned long per Laurent Pinchart > > drivers/tty/serial/sh-sci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c > index be33d2b..1668523 100644 > --- a/drivers/tty/serial/sh-sci.c > +++ b/drivers/tty/serial/sh-sci.c > @@ -2018,7 +2018,7 @@ static int sci_remap_port(struct uart_port *port) > * need to do any remapping, just cast the cookie > * directly. > */ > - port->membase = (void __iomem *)port->mapbase; > + port->membase = (void __iomem *)(uintptr_t)port->mapbase; > } > > return 0; -- Regards, Laurent Pinchart -- 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