gianfar: fix handle errors returned by platform_get_irq*()
authorroel kluin <roel.kluin@gmail.com>
Tue, 21 Oct 2008 05:35:34 +0000 (01:35 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 22 Oct 2008 10:22:07 +0000 (06:22 -0400)
commitd51894f4979e941a86309f29898579cbb591514e
treee848aec1028c068f0e8c6c381477c702df8e0787
parente1564ec938b759268d6e67f24b5d6f429da4a5a9
gianfar: fix handle errors returned by platform_get_irq*()

platform_get_irq*() returns on -ENXIO when the resource cannot be
found, but this remains unnoticed if stored in an unsigned.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/gianfar.c