Module: check to see if we have a built in module with the same name
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 23:38:40 +0000 (15:38 -0800)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jan 2008 06:13:27 +0000 (17:13 +1100)
commit6494a93d55fad586238cc1940e846c6d03e1aaf6
tree8f930c1064753ab478b879b5598952f1ae87e52e
parent0aa5bd52d0c49ca56d24584c646e6544ccbb3dc9
Module: check to see if we have a built in module with the same name

When trying to load a module with the same name as a built-in one, a
scary kobject backtrace comes up.  Prevent that from checking for this
condition and warning the user as to what exactly is going on.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c