On Sat, 15 Mar 2008, Thomas Petazzoni wrote:
> Le Fri, 14 Mar 2008 12:30:53 -0400 (EDT),
> "Robert P. J. Day" <[EMAIL PROTECTED]> a écrit :
>
> > yes, i think we've established what's happening. as long as a module
> > parameter is defined with access rights of zero, it can be tagged as
> > __initdata.
>
> No, I don't think so. A module parameter can be marked __initdata if
> it's only used during initialization of the module (call to the
> function specified by module_init()).
>
> So you could imagine a module parameter with access rights != 0, but
> used outside of the initialization code. In that case, it should not
> be marked __initdata.
right. i did go on later (in a subsequent post) to add the necessary
qualifier that the parameter had to be unused after the
initialization phase.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================