Re: [PATCH 1/2] ewrk3: silence GCC warning

From: David Miller
Date: Wed Nov 28 2012 - 11:35:22 EST


From: Paul Bolle <pebolle@xxxxxxxxxx>
Date: Tue, 27 Nov 2012 10:47:17 +0100

> Building ewrk3.o triggers this GCC warning:
> drivers/net/ethernet/dec/ewrk3.c: In function '__check_irq':
> drivers/net/ethernet/dec/ewrk3.c:1915:1: warning: return from incompatible pointer type [enabled by default]
>
> This can be trivially fixed by changing the 'irq' parameter from int to
> byte (which is an alias for unsigned char for module parameters).
>
> Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/