[PATCH] i2c: s3c2410: Properly handle interrupts of number 0

Dan Carpenter dan.carpenter at oracle.com
Fri Mar 2 04:26:56 PST 2018


Ok, but in that case the original code is still wrong because it returns
early with success.  I guess it could be changed to:

	if (irq <= 0)
		return -ENXIO;

regards,
dan carpenter




More information about the linux-arm-kernel mailing list