Thread (2 messages) flat view 2 messages, 2 authors, 2012-11-28

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

From: David Miller <davem@davemloft.net>
Date: 2012-11-28 16:35:34
Also in: lkml

From: Paul Bolle <redacted>
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help