]> err.no Git - linux-2.6/commit
[PATCH] better error handing in savagefb_probe
authorOlaf Hering <olh@suse.de>
Fri, 9 Sep 2005 20:04:55 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:58:01 +0000 (13:58 -0700)
commit6062bfa1644f401c08e78d5c8a161f7d11c5c830
tree4b3a2af8cb84c5f568e9aec839f76955608774fe
parent544393fe584d333480659a4bed30f5295355df11
[PATCH] better error handing in savagefb_probe

err remains uninitialized of pci_request_regions fails.

Found by Thorsten Kukuk, I added a few more checks.

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/savage/savagefb_driver.c