]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: fix missing fault indication in error-path
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Sun, 10 Jun 2012 11:37:51 +0000 (14:37 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 10 Jun 2012 11:49:46 +0000 (14:49 +0300)
commit67021c2ce224998904546a6d3075e2e13609b381
tree3a2c824ce909edfcb7a8b5899829699a0618333a
parentdb44c2eb2b0b9e445aa1468ebefa6b78db7c05d5
remoteproc: fix missing fault indication in error-path

If rproc_find_rsc_table() fails, rproc_fw_boot() must set
return-value before jumping to clean_up label. Otherwise no
error value is returned.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: stable@vger.kernel.org
drivers/remoteproc/remoteproc_core.c