lkml.org 
[lkml]   [2011]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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



    \
     
     \ /
      Last update: 2011-01-11 20:05    [W:3.064 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site