The first time it is used in an if clause that checks to see if it is NULL or not. Is it safe to assume that when a module is loaded that the kernel will set it's global data to NULL?
Yes, ANSI C guarantees that. And there was some recent discussion on LKML contrasting that to the "static ... x = NULL" style, affirming that the right answer is to let the zero-initialized live in BSS rather than trying to make it live in the "initialized data" segment.
- Dave
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
