Thread (2 messages) flat view 2 messages, 2 authors, 2012-01-22

Init global variables at run-time

From: V l <hidden>
Date: 2012-01-22 10:14:40

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help