[PATCH -next] mtd: atmel_nand: fix error return code in atmel_nand_probe()

Brian Norris computersforpeace at gmail.com
Sat Aug 24 00:44:10 EDT 2013


On Fri, Aug 23, 2013 at 10:50:36AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
> 
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list