You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ps3vram: Correct exchanged gotos in ps3vram_probe() error path
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: Jim Paris <jim@jtan.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
3c20e2f279
commit
3273d8778f
@@ -635,7 +635,7 @@ static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev)
|
||||
if (ps3_open_hv_device(dev)) {
|
||||
dev_err(&dev->core, "ps3_open_hv_device failed\n");
|
||||
error = -EAGAIN;
|
||||
goto out_close_gpu;
|
||||
goto out_free_xdr_buf;
|
||||
}
|
||||
|
||||
/* Request memory */
|
||||
@@ -659,7 +659,7 @@ static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev)
|
||||
dev_err(&dev->core, "lv1_gpu_memory_allocate failed %d\n",
|
||||
status);
|
||||
error = -ENOMEM;
|
||||
goto out_free_xdr_buf;
|
||||
goto out_close_gpu;
|
||||
}
|
||||
|
||||
/* Request context */
|
||||
|
||||
Reference in New Issue
Block a user