module: Extend the module namespace parsing
authorPeter Zijlstra <peterz@infradead.org>
Fri, 2 May 2025 14:12:07 +0000 (16:12 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 25 May 2025 09:12:03 +0000 (18:12 +0900)
commit754f8733fc09dd92093cfbd34fa71a42d152b250
treeb5a42653b44e550b07f9b0bb7247fbd759c1d831
parent520b1a147d918eb07132c847ad5598a17d3ff7ca
module: Extend the module namespace parsing

Instead of only accepting "module:${name}", extend it with a comma
separated list of module names and add tail glob support.

That is, something like: "module:foo-*,bar" is now possible.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
kernel/module/main.c
scripts/mod/modpost.c