[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Some kernel module options not showing up in modinfo
From:       Rusty Russell <rusty () rustcorp ! com ! au>
Date:       2013-11-30 22:28:59
Message-ID: 87k3fpfsbo.fsf () rustcorp ! com ! au
[Download RAW message or body]

Raphael Hertzog <hertzog@debian.org> writes:
> Hi,
>
> On Fri, 22 Nov 2013, Rusty Russell wrote:
>> Raphael Hertzog <hertzog@debian.org> writes:
>> > Hello,
>> >
>> > I noticed that some options are not visible in the modinfo output. For
>> > instance "modinfo lockd" reports this on my Debian sid system:
> [...]
>> > Multiple other options are defined by way of module_param_call(...) like
>> > nlm_grace_period, nlm_timeout, nlm_updport, nlm_tcpport.
>> 
>> Yes, the module_param() macro adds a type description.  The
>> module_param_call() does not.
>
> Couldn't they be displayed without any type or with a type "unknown" ?
>
> parm: nlm_grace_period
>
> or 
>
> parm: nlm_grace_period:unknown

The type thing is really a hack.  Ideally we should force documentation
on everyone who declares a module parameter with a new macro we can
transition to.

Of course, most descriptions would be incoherent, a-la Kbuild help
messages, so we'd need an enforcer...

Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic