Init global variables at run-time
V l
vloveuvm at gmail.com
Sun Jan 22 05:14:40 EST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120122/c7ca9097/attachment.html
More information about the Kernelnewbies
mailing list