Messages in this thread | | | Date | Tue, 2 Jun 2009 14:47:45 -0700 | From | Greg KH <> | Subject | Re: [TRIVIAL][PATCH 1/1] Fix warning in staging/otus/ioctl.c |
| |
On Fri, May 29, 2009 at 01:24:16PM +0530, Pranith Kumar wrote: > Hi Greg, > > This patch fixes the following warning > > drivers/staging/otus/ioctl.c: In function `usbdrv_wpa_ioctl': > drivers/staging/otus/ioctl.c:2269: warning: ISO C90 forbids mixed > declarations and code > drivers/staging/otus/ioctl.c: In function `usbdrv_ioctl': > drivers/staging/otus/ioctl.c:2448: warning: ISO C90 forbids mixed > declarations and code > > Thanks, > -- > Pranith. > > Signed-off-by: D Pranith Kumar <bobby.prani@gmail.com> > > diff --git a/drivers/staging/otus/ioctl.c b/drivers/staging/otus/ioctl.c > index ce04218..26bd999 100644 > --- a/drivers/staging/otus/ioctl.c > +++ b/drivers/staging/otus/ioctl.c > @@ -2045,6 +2045,7 @@ int usbdrv_wpa_ioctl(struct net_device *dev, > struct athr_wlan_param *zdparm) > struct zsKeyInfo keyInfo; > struct usbdrv_private *macp = dev->ml_priv; > u16_t vapId = 0; > + int ii;
Your patch is line-wrapped and the tabs seem to be stripped out, making it impossible to apply :(
care to try again?
thanks,
greg k-h
| |