From: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> Date: Sat, 17 Apr 2010 13:16:04 +1000 (EST)
Change an error return code from -EAGAIN to -EBUSY since the former is misleading. Nubus slots are geographically addressed and their irqs are equally inflexible. -EAGAIN is misleading because retrying will not help fix whatever bug it was that made the irq unavailable.
request_irq() itself returns an appropriate error code, so the correct change is to do: err = request_irq( ... ); if (err) { ... and return 'err'. -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html