]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/modprobe: accept module name with --show-exports
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 19 May 2025 20:08:26 +0000 (21:08 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 13 Jun 2025 18:52:41 +0000 (13:52 -0500)
commit5dfa7c9a9bdad68df1c3bb1a366d6a8cd5d13f3b
tree3f21f321672cf294a2ec61a512ab6fa930fed3f5
parent5753d25231ad061e6719b7eea3fc96e994c56566
tools/modprobe: accept module name with --show-exports

Use the newly introduced helper module_new_from_any(), so we accept both
files as well as modules. This means you can now do:
 - modprobe --show-exports drm-vram-helper, alongside the existing
 - modprobe --show-exports /full/path/to/the/module/drm_vram_helper.ko

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/353
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/modprobe.c