diff options
Diffstat (limited to 'drivers/block/ps3vram.c')
-rw-r--r-- | drivers/block/ps3vram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index 6e738684a158..3c9ad1959a69 100644 --- a/drivers/block/ps3vram.c +++ b/drivers/block/ps3vram.c | |||
@@ -635,7 +635,7 @@ static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev) | |||
635 | if (ps3_open_hv_device(dev)) { | 635 | if (ps3_open_hv_device(dev)) { |
636 | dev_err(&dev->core, "ps3_open_hv_device failed\n"); | 636 | dev_err(&dev->core, "ps3_open_hv_device failed\n"); |
637 | error = -EAGAIN; | 637 | error = -EAGAIN; |
638 | goto out_close_gpu; | 638 | goto out_free_xdr_buf; |
639 | } | 639 | } |
640 | 640 | ||
641 | /* Request memory */ | 641 | /* Request memory */ |
@@ -659,7 +659,7 @@ static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev) | |||
659 | dev_err(&dev->core, "lv1_gpu_memory_allocate failed %d\n", | 659 | dev_err(&dev->core, "lv1_gpu_memory_allocate failed %d\n", |
660 | status); | 660 | status); |
661 | error = -ENOMEM; | 661 | error = -ENOMEM; |
662 | goto out_free_xdr_buf; | 662 | goto out_close_gpu; |
663 | } | 663 | } |
664 | 664 | ||
665 | /* Request context */ | 665 | /* Request context */ |