From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751121AbdALViU (ORCPT ); Thu, 12 Jan 2017 16:38:20 -0500 Received: from muru.com ([72.249.23.125]:56844 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdALViT (ORCPT ); Thu, 12 Jan 2017 16:38:19 -0500 Date: Thu, 12 Jan 2017 13:38:16 -0800 From: Tony Lindgren To: Wei Yongjun Cc: Santosh Shilimkar , Dave Gerlach , Wei Yongjun , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH -next] soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe() Message-ID: <20170112213815.GK2630@atomide.com> References: <20170112145341.783-1-weiyj.lk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170112145341.783-1-weiyj.lk@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Wei Yongjun [170112 06:55]: > From: Wei Yongjun > > 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 > --- > 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