+3
-8
init/main.c
+3
-8
init/main.c
···
251
251
252
252
/*
253
253
* Unknown boot options get handed to init, unless they look like
254
-
* failed parameters
254
+
* unused parameters (modprobe will find them in /proc/cmdline).
255
255
*/
256
256
static int __init unknown_bootoption(char *param, char *val)
257
257
{
···
272
272
if (obsolete_checksetup(param))
273
273
return 0;
274
274
275
-
/*
276
-
* Preemptive maintenance for "why didn't my misspelled command
277
-
* line work?"
278
-
*/
279
-
if (strchr(param, '.') && (!val || strchr(param, '.') < val)) {
280
-
printk(KERN_ERR "Unknown boot option `%s': ignoring\n", param);
275
+
/* Unused module parameter. */
276
+
if (strchr(param, '.') && (!val || strchr(param, '.') < val))
281
277
return 0;
282
-
}
283
278
284
279
if (panic_later)
285
280
return 0;