Re: [PATCHv2] staging: gs_fpgaboot: remove redundant code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux