modules: don't fail to load on unknown parameters.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Jul 2013 06:05:12 +0000 (15:35 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 2 Jul 2013 06:08:21 +0000 (15:38 +0930)
commit54041d8a73337411b485ff76957fb106cb5d40d0
treed80e16306e28cc2821794be56b37c5e64b091fa5
parent86f120031a21fe4e7333a84f55d9e243c781e6e9
modules: don't fail to load on unknown parameters.

Although parameters are supposed to be part of the kernel API, experimental
parameters are often removed.  In addition, downgrading a kernel might cause
previously-working modules to fail to load.

On balance, it's probably better to warn, and load the module anyway.
This may let through a typo, but at least the logs will show it.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c