[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170112213815.GK2630@atomide.com>
Date: Thu, 12 Jan 2017 13:38:16 -0800
From: Tony Lindgren <tony@...mide.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: Santosh Shilimkar <ssantosh@...nel.org>,
Dave Gerlach <d-gerlach@...com>,
Wei Yongjun <weiyongjun1@...wei.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH -next] soc: ti: wkup_m3_ipc: Fix error return code in
wkup_m3_ipc_probe()
* Wei Yongjun <weiyj.lk@...il.com> [170112 06:55]:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> Fix to return a negative error code from the kthread_run() error
> handling case instead of 0, as done elsewhere in this function.
>
> Fixes: cdd5de500b2c ("soc: ti: Add wkup_m3_ipc driver")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> drivers/soc/ti/wkup_m3_ipc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
> index 8bfa44b..369aef5 100644
> --- a/drivers/soc/ti/wkup_m3_ipc.c
> +++ b/drivers/soc/ti/wkup_m3_ipc.c
> @@ -457,6 +457,7 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
>
> if (IS_ERR(task)) {
> dev_err(dev, "can't create rproc_boot thread\n");
> + ret = PTR_ERR(task);
> goto err_put_rproc;
> }
>
>
Applying into omap-for-v4.10/fixes thanks.
Tony
Powered by blists - more mailing lists