android_kernel_xiaomi_sm8350/scripts/mod
Sam Ravnborg 4c8fbca583 kbuild: whitelist false section mismatch warnings
In several cases the section mismatch check triggered false warnings.
Following patch introduce a whitelist to 'false positives' are not warned of.
Two types of patterns are recognised:
1) Typical case when a module parameter is _initdata
2) When a function pointer is assigned to a driver structure

In both patterns we rely on the actual name of the variable assigned

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-02-26 22:18:11 +01:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
empty.c
file2alias.c kbuild: use warn()/fatal() consistent in modpost 2006-02-19 09:51:17 +01:00
Makefile
mk_elfconfig.c
modpost.c kbuild: whitelist false section mismatch warnings 2006-02-26 22:18:11 +01:00
modpost.h kbuild: check for section mismatch during modpost stage 2006-02-19 09:51:20 +01:00
sumversion.c kbuild: do not segfault in modpost if MODVERDIR is not defined 2006-02-19 09:51:22 +01:00