-
Brian King authored
From: Francois Romieu <romieu@fr.zoreil.com> Subject: [PATCH 2.6.7-mm3] ipr: minor fixes and assorted nit - balance pci_enable_device() with pci_disable_device() where appropriate; - pci_release_regions() replaces release_mem_region(); - ipr_alloc_mem() can not simply issue a call to ipr_free_mem() when something goes wrong as it would lead to pci_free_consistent() of unset data. Let ipr_alloc_mem() carefully release whatever it has allocated instead; - no need to memset(..., 0, ...) an area returned by pci_alloc_consistent; - ipr_probe_ioa: + DMA_32BIT_MASK for all; + error path rework (includes bug fix when ipr_alloc_mem fails); - ipr_init() can fail: return adequate status code. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
00ce9055