ps3rom: fix error return code
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 5 Nov 2014 10:11:10 +0000 (21:11 +1100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Nov 2014 13:58:19 +0000 (14:58 +0100)
commitaf222097aaf7f547b7543d5a0d6198d1480db414
tree50b13d189bd65efea106e55b6eb76c68c7278a5c
parent6774def6422f6eac53f1828c317bf3b08a8f5a60
ps3rom: fix error return code

Set the return variable to an error code as done elsewhere in the function.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-By: Geoff Levand <geoff@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/scsi/ps3rom.c