On Wed, Mar 07, 2012 at 10:36:58AM +0800, Zhengwang Ruan wrote: > GCC warns 'buffer' and 'buffer_size' are used with being uninitialized, and > 'buffer' is used as returned value, and 'buffer_size' is initialized using > uninitialized_var to clear warning. Doesn't say that for me at all, what version of gcc are you using? I'm using 4.6.2 here, and if you are using an older version, then please upgrade to one smarter than the one you are using. As you are trying to paper over gcc issues, I can't take this patch, sorry. greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel