Init global variables at run-time
Rajat Sharma
fs.rajat at gmail.com
Sun Jan 22 11:31:18 EST 2012
Means the initialization function of this driver is called multiple
times, once on module load, further may be some reset functionality?
On Sun, Jan 22, 2012 at 2:14 AM, V l <vloveuvm at gmail.com> wrote:
> Can some one throw more light on this statement=>
>
> /* Init global variables at run-time, not as part of the declaration.
> * This is required to support init/de-init of the driver.
> Initialization
>
> * of globals as part of the declaration results in
> non-deterministic
> * behaviour since the value of the globals may be different on the
> * first time that the driver is initialized vs subsequent
> initializations.
>
>
> Thanks and Regards
>
> Sraddha
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
More information about the Kernelnewbies
mailing list