|
@@ -4551,10 +4551,10 @@ sub process {
|
|
|
"$1 is obsolete, use k$3 instead\n" . $herecurr);
|
|
|
}
|
|
|
|
|
|
-# check for __initcall(), use device_initcall() explicitly please
|
|
|
+# check for __initcall(), use device_initcall() explicitly or more appropriate function please
|
|
|
if ($line =~ /^.\s*__initcall\s*\(/) {
|
|
|
WARN("USE_DEVICE_INITCALL",
|
|
|
- "please use device_initcall() instead of __initcall()\n" . $herecurr);
|
|
|
+ "please use device_initcall() or more appropriate function instead of __initcall() (see include/linux/init.h)\n" . $herecurr);
|
|
|
}
|
|
|
|
|
|
# check for various ops structs, ensure they are const.
|