]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools: add kmod_version() helper
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Sep 2024 15:49:08 +0000 (16:49 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 21 Sep 2024 15:53:12 +0000 (10:53 -0500)
commitb644b8d784d17405a5e6da541cc337f7fd07f90d
treec30d325f5cd1cbd93aaab4579f66f6ac0da54846
parent6eef551997fe1f6227f18ce584b6f39cc7ae31bf
tools: add kmod_version() helper

Add a trivial helper that prints the version + features combo. I will be
adding another instance of those, so I'm aiming to keep the boilerplate
code to a minimum.

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