From patchwork Sun Sep 16 23:45:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 146803 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3154742ljw; Sun, 16 Sep 2018 16:46:20 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbb0YU5V8gShMhgW/gj2DEBw5azwUQXngFNnl5bgiml3wNrZhjagkAuWXjGQMhBlUqU7k73 X-Received: by 2002:a17:902:9a06:: with SMTP id v6-v6mr22423925plp.316.1537141580439; Sun, 16 Sep 2018 16:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537141580; cv=none; d=google.com; s=arc-20160816; b=uHMfobNuwX0UI4HTftrrdLfNsAZiW+qnawoKH7GIuLRsthI5ymRN8eDgQEjb5IFL7n OwInNDKE9Ty4Jdr1nv9TBIKmE/SLp7LezAg2GSvDTxYfQv2UKhM13u8dqddlWhaIInbk hkUQMThH3PoKGHx2ljj3kWTC1dYnKmGNnnySQvgv5z33F+i3aoRSWIOVrvLdhP+7xetD pD+mBMw65ycTG4r5xZxa0Ba44ptZviLTR8zkquxJFgWRuVDc8r/nfLG0PzjnDCFlWWeL KrryS247TqPTXriAzAsdsk8bJ+bcPsDpczILZX0svBOcOeZ7mUBTptWjmdqGIOyUsNou c7Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=PeH6Ipil7CJB8tr8f+7fACMPhexFa7TfJUCZcP2TPv4=; b=KVPc/Db4AMxOrFDlEMfF4wXEtPUoUChni7b1/ioQWJUG1F3KeygQILO9mEmqYO+yU4 JRpNv3wFFnGRGYWMIMpeQzoM76heLMb3930oK7S+xTMeviP5pezWGKH19he5XMt0oZSc 3oTndYHqRjKoYGAKhONdZlSrIanOdHiPlr3UMvReBngm0uRFQKIkPdKrwGsQrql/ysP8 U4s1QCuUGr+LlzrUj6+DI0A1rvQH6x6WT9hnZCzR8xbNrdcNgIv5B39b6tgi6NQTE6dx p1TcLHxk15q1StdnlyN6X/FzSJrhkGKjjZJ1Cafp2OKJLmaIWEe8Vsro9dF895QdoLwo +v3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JhtiWx6z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t190-v6si14663302pfb.344.2018.09.16.16.46.20; Sun, 16 Sep 2018 16:46:20 -0700 (PDT) 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=@linaro.org header.s=google header.b=JhtiWx6z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728363AbeIQFKp (ORCPT + 32 others); Mon, 17 Sep 2018 01:10:45 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:41907 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728330AbeIQFKo (ORCPT ); Mon, 17 Sep 2018 01:10:44 -0400 Received: by mail-io1-f66.google.com with SMTP id q4-v6so10045052iob.8 for ; Sun, 16 Sep 2018 16:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PeH6Ipil7CJB8tr8f+7fACMPhexFa7TfJUCZcP2TPv4=; b=JhtiWx6z2EAkugIUVFF3mdBXCn47MKdK7pJ+zNcau76PFl/LzR0YlIKmSZmiDcAJTZ BegA6txQXHCF1UTovMDhfGyZ+tiFSeGRljIUKH9RrmORZjqHZsIcbxv0kjwF8MySqIwY vPD3xPTir7pagSO/M6yhSYdydYdK/XiWjaFSA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PeH6Ipil7CJB8tr8f+7fACMPhexFa7TfJUCZcP2TPv4=; b=kobjAww7H6zko7VEeYCgtjkUzABwfEJHnLhpOTnHTX9p4tU61h20t0A7G3P8dhplSI TmhPL/DQq242aOXI2vuwrfwSH8wy2TNr54NC1I1zxnWROvW9UFoDn6QIB+NfG16OIvK9 677npiqfo8XhEQGboATjzR73XD1kDs+GyeuqnZ8jdtbnP0r5YR20ZgnsIGkFGcaMwzR3 /s3sRiqcuIQGbdjigFWwled08rBk/D78lH4q45pRzx1ztedIPnMzEPeE/yB8RJ9w01XQ /wCjI0nkXZbZF8hS7dLRdq+QUpYEEWDS6NHHp1JjVuU9EAPK2HZZl9JX2J4I9eio4tUx 7m4g== X-Gm-Message-State: APzg51AeaXmjGg+JkhCRJ0ZRtMk1kH8RUWw9FGqfU5sOItp/EsiN7EuZ 30posBWLRBJai4d8eQk1s8+Jyw== X-Received: by 2002:a6b:1706:: with SMTP id 6-v6mr19948407iox.58.1537141563501; Sun, 16 Sep 2018 16:46:03 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id a11-v6sm4495177ioc.63.2018.09.16.16.46.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Sep 2018 16:46:03 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: broonie@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, vkoul@kernel.org, Srinivas Kandagatla Subject: [PATCH 6/7] slimbus: ngd: return proper error code instead of zero Date: Sun, 16 Sep 2018 16:45:45 -0700 Message-Id: <20180916234546.29661-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180916234546.29661-1-srinivas.kandagatla@linaro.org> References: <20180916234546.29661-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla It looks like there is a typo in probe return. Fix it. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index 0241373..f48a06e 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -1396,7 +1396,7 @@ static int qcom_slim_ngd_probe(struct platform_device *pdev) if (ctrl->mwq) destroy_workqueue(ctrl->mwq); - return 0; + return ret; } static int qcom_slim_ngd_ctrl_probe(struct platform_device *pdev)