Module: check to see if we have a built in module with the same name
commit123ca9575b1f5342c05a4b84d6af8ba7587c2981
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 18:29:20 +0000 (27 10:29 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 23:01:39 +0000 (27 15:01 -0800)
tree3d058bc01640913d44d819d0a582d2e7cba82978
parent404aae5d420ec543e2e8434f7ec0edf5e2d2b0c4
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>
kernel/module.c