Re: [PATCH] staging: fix a silly typo

From: Randy Dunlap
Date: Mon Nov 30 2009 - 11:09:56 EST


Alan Cox wrote:
> (Resend #3)

> Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
> ---
I have also sent this patch a few times.

The problems are in Rusty Russell's quilt series/tree and he replied to me
that he fixed them, but they don't seem to be pushed yet....

Rusty?


> drivers/staging/rtl8187se/r8180_core.c | 2 +-
> drivers/staging/rtl8192su/r8192U_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>
> diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c
> index 5a6cd60..d74bf70 100644
> --- a/drivers/staging/rtl8187se/r8180_core.c
> +++ b/drivers/staging/rtl8187se/r8180_core.c
> @@ -79,7 +79,7 @@ MODULE_AUTHOR("Andrea Merello <andreamrl@xxxxxxxxxx>");
> MODULE_DESCRIPTION("Linux driver for Realtek RTL8180 / RTL8185 WiFi cards");
>
>
> -module_param_string(ifname, ifname, sizef(ifname), S_IRUGO|S_IWUSR);
> +module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR);
> module_param(hwseqnum,int, S_IRUGO|S_IWUSR);
> module_param(hwwep,int, S_IRUGO|S_IWUSR);
> module_param(channels,int, S_IRUGO|S_IWUSR);
> diff --git a/drivers/staging/rtl8192su/r8192U_core.c b/drivers/staging/rtl8192su/r8192U_core.c
> index e24815f..0a052ea 100644
> --- a/drivers/staging/rtl8192su/r8192U_core.c
> +++ b/drivers/staging/rtl8192su/r8192U_core.c
> @@ -142,7 +142,7 @@ static int channels = 0x3fff;
>
>
>
> -module_param_string(ifname, ifname, sizef(ifname), S_IRUGO|S_IWUSR);
> +module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR);
> //module_param(hwseqnum,int, S_IRUGO|S_IWUSR);
> module_param(hwwep,int, S_IRUGO|S_IWUSR);
> module_param(channels,int, S_IRUGO|S_IWUSR);


--
~Randy
--
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/