]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
defxx: Fix the handling of ioremap() failures
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 29 May 2007 15:12:22 +0000 (16:12 +0100)
committerJeff Garzik <jeff@garzik.org>
Wed, 30 May 2007 13:52:48 +0000 (09:52 -0400)
commit8a32352661cc8e942897d205ba18f871ef7be597
tree45b454ff1dd0ce3e866eb53b5222bf3725e93632
parent34dd962b748bdb4f96fc5e6e69dc66522924f489
defxx: Fix the handling of ioremap() failures

 If ioremap_nocache() is unfortunate enough to fail, the error code is not
set correctly leading to a false success from dfx_register().  This change
fixes the problem.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/defxx.c