]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: document KMOD_INDEX_MODULES_BUILTIN_ALIAS in kmod_dump_index()
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 Jul 2024 16:12:41 +0000 (17:12 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 20 Jul 2024 14:11:01 +0000 (09:11 -0500)
commit89596b75185a478939aa2a70049f2fd0cb1bc3b0
treef6a4d16f0c8654d0a932eef802225c1cc0e83f9e
parent29cc8c2e700db317e26be02c64b4ba288ed21607
libkmod: document KMOD_INDEX_MODULES_BUILTIN_ALIAS in kmod_dump_index()

The extra enum was introduced a few years ago, although the (only)
function using it did not have it's documentation updated.

The commit itself has caused an ABI break with kmod v27, since the
KMOD_INDEX_MODULES_BUILTIN value has changed.

A search through Google, Github and Arch packages have shown one user of
kmod_dump_index() - the only API that uses the enum.

In that case and all others, no projects referencing the changed enum
were found. Although since recent and/or supported distros use kmod v27
or later we've decided to only update the documentation.

Cc: Alexey Gladkov <gladkov.alexey@gmail.com>
Fixes: b866b21 ("Lookup aliases in the modules.builtin.modinfo")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20240719-abi-fixes-v1-1-1e6d99a2846b@gmail.com
libkmod/libkmod.c