Skip to content

Random fixes + modinfo --modname

Lucas De Marchi linux-modules 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8test-initstate: Check for negative value on errortestsuite/test-initstate.c+1 -10 replies
2/8libkmod-module: Fix return code for kmod_module_new_from_lookup()libkmod/libkmod-module.c+2 -20 replies
3/8gitignore: ignore gtk-doc.make.gitignore+1 -00 replies
4/8libkmod: Add helper function to iterate lookup optionslibkmod/libkmod-module.c+37 -450 replies
5/8libkmod: Update docs about indexes orderlibkmod/libkmod-module.c+1 -10 replies
6/8libkmod: Add lookup from module namelibkmod/libkmod-module.c libkmod/libkmod.h libkmod/libkmod.sym+61 -00 replies
7/8modinfo: Update help message with "modulename"tools/modinfo.c+1 -10 replies
8/8modinfo: Allow to force arg as module nametools/modinfo.c+28 -23 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuis Chamberlain
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Random fixes + modinfo --modname

First commits are some random fixes and refactors while preparing the code base for a new API: kmod_module_new_from_name_lookup(). This new function is used by modinfo to allow handling the argument as a module name instead of alias or file. Main motivation is to allow to bypass aliases set by kernel or user configuration that would otherwise forbid to get the info from a particular module. Although for modules it's possible to just find the correspondent file, this is not possible for builtin modules.

Lucas De Marchi (8):
test-initstate: Check for negative value on error
libkmod-module: Fix return code for kmod_module_new_from_lookup()
gitignore: ignore gtk-doc.make
libkmod: Add helper function to iterate lookup options
libkmod: Update docs about indexes order
libkmod: Add lookup from module name
modinfo: Update help message with "modulename"
modinfo: Allow to force arg as module name

 .gitignore                 |   1 +
 libkmod/libkmod-module.c   | 131 +++++++++++++++++++++++++------------
 libkmod/libkmod.h          |   3 +
 libkmod/libkmod.sym        |   1 +
 testsuite/test-initstate.c |   2 +-
 tools/modinfo.c            |  32 ++++++++-
 6 files changed, 125 insertions(+), 45 deletions(-)
Signature · 1 line
2.35.1