Hi, On Fri, Feb 28, 2014 at 04:26:08PM +0900, Jingoo Han wrote: > Remove unnecessary __initdata marker, because it is not right > for a module parameter. It may make the kernel oops problem. I wouldn't call it "unnecessary". Does the kernel oops if you access the parameter's sysfs file with __initdata in place or doesn't it? If so it's definitly not unnecessary but plain wrong. Best regards Uwe > > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> > --- > drivers/leds/leds-clevo-mail.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c > index d93e245..19202f5 100644 > --- a/drivers/leds/leds-clevo-mail.c > +++ b/drivers/leds/leds-clevo-mail.c > @@ -19,7 +19,7 @@ MODULE_AUTHOR("Márton Németh <nm127@xxxxxxxxxxx>"); > MODULE_DESCRIPTION("Clevo mail LED driver"); > MODULE_LICENSE("GPL"); > > -static bool __initdata nodetect; > +static bool nodetect; > module_param_named(nodetect, nodetect, bool, 0); > MODULE_PARM_DESC(nodetect, "Skip DMI hardware detection"); > > -- > 1.7.10.4 > > > -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html