lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Fix velocity_intr() in the VIA Velocity driver to have the right return type
From
From: David Howells <dhowells@redhat.com>
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@redhat.com>

Already fixed in net-2.6


\
 
 \ /
  Last update: 2009-04-14 23:23    [W:0.021 / U:7.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site