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

diff --cc kernel/module.c
Simple merge