module: Issue warnings when tainting kernel
authorLibor Pechacek <lpechacek@suse.com>
Wed, 13 Apr 2016 01:36:12 +0000 (11:06 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 27 Jul 2016 03:08:00 +0000 (12:38 +0930)
commit3205c36cf7d96024626f92d65f560035df1abcb2
tree1dfb596c2a4ebc8e7f6958f86fecc5236e7ecd77
parentc75b590d60ffa3e31bcb9608b68006a8bab9e0ed
module: Issue warnings when tainting kernel

While most of the locations where a kernel taint bit is set are accompanied
with a warning message, there are two which set their bits silently.  If
the tainting module gets unloaded later on, it is almost impossible to tell
what was the reason for setting the flag.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c