Re: [TRIVIAL][PATCH 1/1] Fix warning in staging/otus/ioctl.c

From: Greg KH
Date: Tue Jun 02 2009 - 18:17:57 EST


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@xxxxxxxxx>
>
> 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
--
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/