Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3273d877 authored by Jim Paris's avatar Jim Paris Committed by Benjamin Herrenschmidt
Browse files

ps3vram: Correct exchanged gotos in ps3vram_probe() error path



Signed-off-by: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Jim Paris <jim@jtan.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 3c20e2f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */