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
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@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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Rajat Sharma -
V l