[Cbe-oss-dev] [PATCH 2/3] ps3vram: free context if iomap fails
Jim Paris
jim at jtan.com
Tue Apr 29 09:21:58 EST 2008
Signed-off-by: Jim Paris <jim at jtan.com>
---
drivers/mtd/devices/ps3vram.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/devices/ps3vram.c b/drivers/mtd/devices/ps3vram.c
index ad6a2c3..c6a9f9e 100644
--- a/drivers/mtd/devices/ps3vram.c
+++ b/drivers/mtd/devices/ps3vram.c
@@ -685,7 +685,7 @@ static int __init init_ps3vram(void)
if (status) {
pr_err("ps3vram: lv1_gpu_context_iomap failed\n");
ret = -ENOMEM;
- goto out_free_memory;
+ goto out_free_context;
}
priv->base = ioremap(ddr_lpar, ddr_size);
--
1.5.5
More information about the cbe-oss-dev
mailing list