]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd62fa38a0be889b997df6be77b63e7d18eb69823
tree1dfb596c2a4ebc8e7f6958f86fecc5236e7ecd77
parentca7a6719293b2dfcdc51b3a3aa4864c90cb1033c
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