* [PATCH] via-velocity : fix compilation warning.
@ 2009-04-09 11:33 Seguier Regis
2009-04-11 8:44 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Seguier Regis @ 2009-04-09 11:33 UTC (permalink / raw)
To: romieu, netdev; +Cc: Seguier Regis
Fix this warning:
drivers/net/via-velocity.c:1924: warning: passing argument 2 of 'request_irq' from incompatible pointer type
Signed-off-by: Seguier Regis <rseguier@e-teleport.net>
---
drivers/net/via-velocity.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index fb53ef8..754a4b1 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -377,7 +377,7 @@ static void velocity_print_info(struct velocity_info *vptr);
static int velocity_open(struct net_device *dev);
static int velocity_change_mtu(struct net_device *dev, int mtu);
static int velocity_xmit(struct sk_buff *skb, struct net_device *dev);
-static int velocity_intr(int irq, void *dev_instance);
+static irqreturn_t velocity_intr(int irq, void *dev_instance);
static void velocity_set_multi(struct net_device *dev);
static struct net_device_stats *velocity_get_stats(struct net_device *dev);
static int velocity_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
@@ -2215,7 +2215,7 @@ out:
* efficiently as possible.
*/
-static int velocity_intr(int irq, void *dev_instance)
+static irqreturn_t velocity_intr(int irq, void *dev_instance)
{
struct net_device *dev = dev_instance;
struct velocity_info *vptr = netdev_priv(dev);
--
1.6.1.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] via-velocity : fix compilation warning.
2009-04-09 11:33 [PATCH] via-velocity : fix compilation warning Seguier Regis
@ 2009-04-11 8:44 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-04-11 8:44 UTC (permalink / raw)
To: rseguier; +Cc: romieu, netdev
From: Seguier Regis <rseguier@e-teleport.net>
Date: Thu, 9 Apr 2009 11:33:57 +0000
> Fix this warning:
> drivers/net/via-velocity.c:1924: warning: passing argument 2 of 'request_irq' from incompatible pointer type
>
> Signed-off-by: Seguier Regis <rseguier@e-teleport.net>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-11 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 11:33 [PATCH] via-velocity : fix compilation warning Seguier Regis
2009-04-11 8:44 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).