Red Hat Bugzilla – Bug 71240
Include kver utility
Last modified: 2015-01-04 17:01:52 EST
Erik Henriks wrote a nice little utility that he included with BProc and Beoboot
which allows you to easily get the kernel version that a module was built
against. It would seem to be a natural addition to the kernel-utils package.
gcc -O2 -g -o kver kver.c -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic
Created attachment 69884 [details]
kver source from beoboot
'modinfo' does this.