From patchwork Tue Nov 19 05:19:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179679 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp162711ilf; Mon, 18 Nov 2019 21:42:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyBXA20yp8KPY2FuYB9/kTkWAl2mKVCEYgrZRVVAFSzbFOUq5lbOuY9dd0lJYJMX2KsNULk X-Received: by 2002:a17:906:7750:: with SMTP id o16mr32725731ejn.224.1574142149013; Mon, 18 Nov 2019 21:42:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574142149; cv=none; d=google.com; s=arc-20160816; b=hBvJt/AWNcxBFTCVsQtA1LUddPzDM7oEMxP4hxguNlYFAWY8tss6IIhGz92xYBWg6U WbX2J4jpCle5HW/mIiuDqXJbF90EWsB9fD5zF3+A0kScaoJ6px4jyLen+bcy7dHC/NSS Hcc8sNudUOPZ1edWhk47IRB9oWPfRCGNX10u0xFRgrc9rFO+sDGTSR6T7TzpFrZzbVVs 9iZWRWAUvLGcEGR9jsQ0orRXEg8+KWjAPg+YZvHBecGQY0J5Aw4f27NTwiOPAAK9aiLm PLQV2ZPcXAlaz5dZZNDNn3pcmhnydbH3J/pK8AgDAuug2RjDcx2nFfIIHsKvwNloEgXQ EJUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=12xLvnVwNVsksRX9Eug65HJX9vjKa+1gOsHBMAp7JZs=; b=FQkaYdpUNl/wPxkamFo76zZWLK43zPDy7KEOGfuGvnkF9V/flB0Zht69BlpPj1yIe0 zjW6WbleXN3tg7ID9IvN6CbkJwJ6rqoCtlezKdDHeTWGVHpPjfJS7r9u0ynYPtQAe6cp FfkiWEnM1yrYCl88e8G181FAz1p8hYATcTH7i+nMBbPkz1RRsanRsfo68amcd4xqCPbU MGGz2mH6VhZxhV2LzW8lOaoI/DrcXcv9QMyRWRpOAxjLKLk0B0pGoIWxEbEIeA09+UCv PxzQYMTDwDXgvpZyWOBXLrh7lLhaQE4Jq0HJ3QpRUqdIU8Xbvji1VVS99fjnJTuG2hMm IlzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMikNVdh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o14si13970210edt.219.2019.11.18.21.42.28; Mon, 18 Nov 2019 21:42:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WMikNVdh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730636AbfKSFm1 (ORCPT + 26 others); Tue, 19 Nov 2019 00:42:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:37130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729307AbfKSFmY (ORCPT ); Tue, 19 Nov 2019 00:42:24 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CF00121939; Tue, 19 Nov 2019 05:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574142144; bh=X7NG4wmYTuoVYks3yIU/4gmZJ3ruY5WnIP5G6l/juW0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WMikNVdhCpzDoNLDwRl6OdFN8aRs6bz4EYYfFVgDoFN+Y5dUgvwNDS7FfT43CnU+1 MSYKdflRiN461SuIQhj+/5AkiQu91EK0Qx3UKp+iY/gGZ7FihamuyCh/D+QwItb9k+ +j0s+5wYXtdcYN2atrLN3wrx5xw7TiCJpJNjAeuI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Sasha Levin Subject: [PATCH 4.19 353/422] slimbus: ngd: return proper error code instead of zero Date: Tue, 19 Nov 2019 06:19:10 +0100 Message-Id: <20191119051421.892624663@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051400.261610025@linuxfoundation.org> References: <20191119051400.261610025@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit 9652e6aa62a1836494ebb8dbd402587c083b568c ] It looks like there is a typo in probe return. Fix it. Signed-off-by: Srinivas Kandagatla Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index a9abde2f4088b..e587be9064e74 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -1393,7 +1393,7 @@ wq_err: if (ctrl->mwq) destroy_workqueue(ctrl->mwq); - return 0; + return ret; } static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)