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

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

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]