Re: [PATCH] Fix velocity_intr() in the VIA Velocity driver to havethe right return type

From: David Miller
Date: Tue Apr 14 2009 - 17:20:36 EST


From: David Howells <dhowells@xxxxxxxxxx>
Date: Tue, 14 Apr 2009 16:53:25 +0100

> Fix velocity_intr() in the VIA Velocity driver to have the right return type.
> As it stands, it returns the right values, but as type int, not type
> irqreturn_t. This leads to the following compiler warning:
>
> CC drivers/net/via-velocity.o
> drivers/net/via-velocity.c: In function 'velocity_open':
> drivers/net/via-velocity.c:1924: warning: passing argument 2 of 'request_irq' from incompatible pointer type
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Already fixed in net-2.6
--
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/