Messages in this thread | | | From | Rusty Russell <> | Subject | Re: Some kernel module options not showing up in modinfo | Date | Sun, 01 Dec 2013 08:46:59 +1030 |
| |
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.
| |