linux/scripts/mod
Wolfram Sang b3c0a4dab7 of: fix autoloading due to broken modalias with no 'compatible'
Because of an improper dereference, a stray 'C' character was output to
the modalias when no 'compatible' was specified. This is the case for
some old PowerMac drivers which only set the 'name' property. Fix it to
let them match again.

Reported-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Tested-by: Mathieu Malaterre <malat@debian.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Fixes: 6543becf26 ("mod/file2alias: make modalias generation safe for cross compiling")
Cc: stable@vger.kernel.org # v3.9+
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-08 10:40:20 +10:00
..
.gitignore
devicetable-offsets.c sound updates for 4.4-rc1 2015-11-06 11:04:07 -08:00
empty.c
file2alias.c of: fix autoloading due to broken modalias with no 'compatible' 2016-06-08 10:40:20 +10:00
Makefile objtool: Mark non-standard object files and directories 2016-02-29 08:35:02 +01:00
mk_elfconfig.c
modpost.c powerpc: Simplify module TOC handling 2016-01-21 14:10:56 +11:00
modpost.h
sumversion.c