diff options
author | Frederik Deweerdt <deweerdt@free.fr> | 2007-02-16 09:27:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 16:13:55 (GMT) |
commit | fb4d64e78ceab77cf20f7796f74aa10ebe862032 (patch) | |
tree | 99266c49cd77b6ac15f5938535d7bc707113ebd5 /net/core | |
parent | f5de611148c8370cbe50796ca5567ca624b99686 (diff) | |
download | linux-fsl-qoriq-fb4d64e78ceab77cf20f7796f74aa10ebe862032.tar.xz |
[PATCH] pci_iomap_regions() error handling fix
It appears that the pcim_iomap_regions() function doesn't get the error
handling right. It BUGs early at boot with a backtrace along the lines of:
ahci_init
pci_register_driver
driver_register
[...]
ahci_init_one
pcim_iomap_region
pcim_iounmap
The following patch allows me to boot. Only the if(mask..) continue;
part fixes the problem actually, the gotos where changed so that we
don't try to unmap something we couldn't map anyway.
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions