Re: [PATCH 2.6.27.3 usbcore] Move __module_param_call(nousb) toimmediately after declaration of nousb.

From: Alan Stern
Date: Sun Oct 26 2008 - 12:12:09 EST


On Sat, 25 Oct 2008, Tetsuo Handa wrote:

> Hello.
>
> I tried on Fedora 9 (gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)),
> and I got the same result.
>
> Just applying http://lkml.org/lkml/diff/2008/10/24/240/1 :

You've got a possible problem here:

> +static int param6;
> +module_param_named(paramtest, param6, int, 0644);
> +MODULE_PARM_DESC(paramtest, "param6");

You used paramtest as both the name of the module and the name of
the parameter. I don't know if that would cause the error you're
seeing, though. You might want to try again using a different name,
like param6test.

Alan Stern

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