Messages in this thread | | | Date | Tue, 11 Jan 2011 11:03:39 -0800 | From | Dmitry Torokhov <> | Subject | Re: [PATCH] Show version information for built-in modules in sysfs |
| |
On Tue, Dec 21, 2010 at 05:02:40PM -0800, Rusty Russell wrote: > On Thu, 16 Dec 2010 08:30:19 am Dmitry Torokhov wrote: > > Currently only drivers that are built as modules have their versions > > shown in /sys/module/<module_name>/version, but this information might > > also be useful for built-in drivers as well. This especially important > > for drivers that do not define any parameters - such drivers, if > > built-in, are completely invisible from userspace. > > > > This patch changes MODULE_VERSION() macro so that in case when we are > > compiling built-in module, version information is stored in a separate > > section. Kernel then uses this data to create 'version' sysfs attribute > > in the same fashion it creates attributes for module parameters. > >
...
> > __used and unused seems overkill, and confused. > > Removed unused. >
Rusty,
What is the status of the patch? It woudl be nice if it coudl make it into .38.
Thanks!
-- Dmitry
| |