summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-01 08:57:29 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-06-06 17:39:20 +0300
commita82f794c41ab51f088af325f5d9acba30a6facdb (patch)
tree9448b9e414cb9152333294e4c51817bd35a02b6f /drivers/soc
parent858b937d289bbf7551d496100c1fa9efcad5796e (diff)
downloadlinux-a82f794c41ab51f088af325f5d9acba30a6facdb.tar.xz
modpost: strip .o from modname before calling new_module()
new_module() conditionally strips the .o because the modname has .o suffix when it is called from read_symbols(), but no .o when it is called from read_dump(). It is clearer to strip .o in read_symbols(). I also used flexible-array for mod->name. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions