Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6455090rwb; Mon, 5 Dec 2022 12:36:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf7kLA9Im3EmT+RZaxAoNpPDI4dXkjbjKtFg/KJQC/CTHQvVzypIFW0OzDhLFoZ1otfam+jx X-Received: by 2002:a17:90a:7d06:b0:213:600:36a1 with SMTP id g6-20020a17090a7d0600b00213060036a1mr89207860pjl.14.1670272589379; Mon, 05 Dec 2022 12:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670272589; cv=none; d=google.com; s=arc-20160816; b=qjvE7pN0lkofP7lTI4e0TC7iT+YF7wiy80AYkPIsqs1dzDFVe8QsobyoY7t95KyfxD wy6CUWcu4v63p/sBTMAXUIvxITGFPSeFdtfhVm/A+Og4ZAqRcwrgI4k3gx7/nesC1V5U /eT1NVpI6g+A/Wp7ZuMsqGLLyF6bFBia5fUZMq4bsvsRS4mA9gBjdQQFqT/ViFOWJaMJ vrtdc+NQTPqLpPqlbGxY5TOYAfMFcPCLaPaTQDn+jzBGbm5n7JquvOfvcjcrP39t+YGV g5SPZzM0dSKwJQFlAQl9MYBKCjV0sd/2+2Z3YBifWZh1yPZHfSBSEWLf2JxAIs8pW/si z1fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mJaizdTflZ9fNDW50Jnh2x2j8AnArQaBZlh7CenVXIU=; b=NcSVn1hq7IvEKia7+Vnco4d6HsFusCoorcBpa/6kFF64Axe+HeVh3gP+SsH+behbbC wLb4j/agp0B7YNztlxwbXMGQ0deR5bEwBe8udy3+fVq2i/xSYnFUHursqL6PLJbagX/I EacWEhGgcSq6IFU+4A/D2Y4tfez0c6SklDXnbEqqalM8Y5Qdcsz2Eam7Ajg/qN5WqZ1k RGvftQ1YQiVrcAoR3cqbdxHG7Y6cjjiLYxuG+cfe6C+uGKNjNgOa/PNnm3VTIfZ+D+BP p3FIgdPiuJH5RfiQWcoTnr+twFIZmEqZxmZoPw629izZRxeWCHPeQbn8T1fhA+DyrU8D 71sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QEFfCGgS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix17-20020a170902f81100b00174b83659fasi14362403plb.502.2022.12.05.12.36.19; Mon, 05 Dec 2022 12:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QEFfCGgS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230154AbiLET6W (ORCPT + 80 others); Mon, 5 Dec 2022 14:58:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233480AbiLET5x (ORCPT ); Mon, 5 Dec 2022 14:57:53 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6905E8C; Mon, 5 Dec 2022 11:57:44 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B5JlTO4009094; Mon, 5 Dec 2022 19:57:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=mJaizdTflZ9fNDW50Jnh2x2j8AnArQaBZlh7CenVXIU=; b=QEFfCGgSRTDBctF+TGpLaVAntVvpd+WxphFrrUTTGGxpoFFppR5MOmc0sgdSMAM+VR6P gbg9rCj+UftPypn35FAJ3tuXGpYOyLdxxFlCBdz1UsVVtM8oz8Yh+6SlOG9+zYUGDbx8 XKDcLN4kJw7SHmiVDxXjy+cN/zTYFa325tzJHVTwT98TtlHRlgk+fbIRZte020eshRHM 7YwlbPqDh2aaJ75/HKmwjcOK+dY+COS3YX7DXAsglFx6xxvb0HDVF7Hq+vvUBJTPoeBI jI3KRQriuP+9PyjCxWoO45vsKZT1l8dChwsbKQaQXN4ILpHafdLMeSFYs/SNGRahn59W 7A== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m7xp8n4n9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Dec 2022 19:57:30 +0000 Received: from nasanex01a.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B5JvT0p004254 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Dec 2022 19:57:29 GMT Received: from asutoshd-linux1.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 5 Dec 2022 11:57:29 -0800 Date: Mon, 5 Dec 2022 11:57:28 -0800 From: Asutosh Das To: Manivannan Sadhasivam CC: , , , , , , , , , , , , , , Subject: Re: [PATCH v4 16/23] scsi: ufs: ufs-qcom: Use dev_err_probe() for printing probe error Message-ID: <20221205195728.GE15334@asutoshd-linux1.qualcomm.com> References: <20221201174328.870152-1-manivannan.sadhasivam@linaro.org> <20221201174328.870152-17-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Disposition: inline In-Reply-To: <20221201174328.870152-17-manivannan.sadhasivam@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Yg0jTjvMsd87H4FEoFDgJEhuVSR6blnf X-Proofpoint-GUID: Yg0jTjvMsd87H4FEoFDgJEhuVSR6blnf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-05_01,2022-12-05_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 bulkscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212050166 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 01 2022 at 09:45 -0800, Manivannan Sadhasivam wrote: >Make use of dev_err_probe() for printing the probe error. > >Reviewed-by: Andrew Halaney >Signed-off-by: Manivannan Sadhasivam >--- > drivers/ufs/host/ufs-qcom.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Asutosh Das >diff --git a/drivers/ufs/host/ufs-qcom.c b/drivers/ufs/host/ufs-qcom.c >index 8bb0f4415f1a..38e2ed749d75 100644 >--- a/drivers/ufs/host/ufs-qcom.c >+++ b/drivers/ufs/host/ufs-qcom.c >@@ -1441,9 +1441,9 @@ static int ufs_qcom_probe(struct platform_device *pdev) > /* Perform generic probe */ > err = ufshcd_pltfrm_init(pdev, &ufs_hba_qcom_vops); > if (err) >- dev_err(dev, "ufshcd_pltfrm_init() failed %d\n", err); >+ return dev_err_probe(dev, err, "ufshcd_pltfrm_init() failed\n"); > >- return err; >+ return 0; > } > > /** >-- >2.25.1 >