android_kernel_xiaomi_sm8350/scripts/mod
Sylvain Munaut d1ab423502 powerpc: Fix the MODALIAS generation in modpost for of devices
Since the devices may have multiple (or none) compatible properties,
the uevent generated internally by the kernel may have multiple
"C..." entries. So the MODALIAS stored in the module must have
wilcard before and after the compatible entry.
Also, if the 'compatible' field is not used for matching, there
will be no 'C' and that must handled as well.

The previous code handled all those case incorrectly and it
"mostly" worked ... but not always.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2007-05-19 09:10:10 +02:00
..
.gitignore
empty.c
file2alias.c powerpc: Fix the MODALIAS generation in modpost for of devices 2007-05-19 09:10:10 +02:00
Makefile
mk_elfconfig.c blackfin architecture 2007-05-07 12:12:58 -07:00
modpost.c Allow arch to initialize arch field of the module structure 2007-05-09 12:30:56 -07:00
modpost.h kbuild: distinguish between errors and warnings in modpost 2007-05-02 20:58:08 +02:00
sumversion.c kbuild: do not emit src version warning for non-modules 2007-05-02 20:58:09 +02:00