On Thu, May 28, 2015 at 02:37:43PM +0300, Dan Carpenter wrote: > On Thu, May 28, 2015 at 11:32:21AM +0000, Gujulan Elango, Hari Prasath (H.) wrote: > > The reason i did that was if the function doesn't hit any error > > condition, then it needs to return 0. If the err variable is not > > initialized to 0,I assume that it can take any value.Please correct me > > if i am wrong. > > You are wrong. We always set err. > > regards, > dan carpenter > Ok I got it. I will send v3 of this patch. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel