From: Gustavo A. R. Silva Date: Fri, 19 May 2017 08:22:41 +0000 (-0500) Subject: uwb: i1480: add missing goto X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f7c3cde613d15bbd6179dc56a96c2de5d0b51c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git uwb: i1480: add missing goto Add missing goto. Addresses-Coverity-ID: 1226913 Signed-off-by: Gustavo A. R. Silva Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/uwb/i1480/dfu/phy.c b/drivers/uwb/i1480/dfu/phy.c index 3b1a87de8e63..1ac8526bb689 100644 --- a/drivers/uwb/i1480/dfu/phy.c +++ b/drivers/uwb/i1480/dfu/phy.c @@ -126,6 +126,7 @@ int i1480_mpi_read(struct i1480 *i1480, u8 *data, u16 srcaddr, size_t size) dev_err(i1480->dev, "MPI-READ: command execution failed: %d\n", reply->bResultCode); result = -EIO; + goto out; } for (cnt = 0; cnt < size; cnt++) { if (reply->data[cnt].page != (srcaddr + cnt) >> 8)