[PATCH] modinfo: match more standard module fields and fix version field
Denys Vlasenko
vda.linux at googlemail.com
Tue Jun 12 14:26:44 UTC 2012
On Fri, Jun 1, 2012 at 12:44 PM, Tanguy Pruvot <tanguy.pruvot at gmail.com> wrote:
> Previously, -F version could match the srcversion= string.
>
> before :
> ~ # modinfo -F version tiwlan_drv
> version: 6.1.2012.05.29
> version: 533BB7E5866E52F63B9ACCB
> version: 0x%x, oui=0x%x, 0x%x, 0x%x
> version: 0x%x
>
> ~ # modinfo tiwlan_drv
> filename: tiwlan_drv.ko
> author: Texas Instruments Inc - Retouched by CyanogenDefy
> license: GPL
> vermagic: 2.6.32.9 preempt mod_unload ARMv7
> parm: g_sdio_debug_level:debug level
> depends:
>
> now :
> ~ # modinfo -F version tiwlan_drv
> version: 6.1.2012.05.29
>
> ~ # modinfo tiwlan_drv
> filename: tiwlan_drv.ko
> license: GPL
> author: Texas Instruments Inc - Retouched by CyanogenDefy
> version: 6.1.2012.05.29
> srcversion: 533BB7E5866E52F63B9ACCB
> depends:
> uts_release: 2.6.32.9-g306944c
> vermagic: 2.6.32.9 preempt mod_unload ARMv7
> parm: g_sdio_debug_level:debug level
>
> This patch also add support for the old "-n" and some other helpers
Applied, thanks!
--
vda
More information about the busybox
mailing list