From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82A67C5320E for ; Tue, 27 Aug 2024 06:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PktzhjaJ/Qt5OdgFW+7ZEshVrc7WCeCriFUTCPSUS08=; b=VZc9FSnjPtTwk9 jgkXGg1YbPcgGyfgc6PuALDI8EmgiUmvqPCRCIlJaro7OuaNpn6Sle2bcXl8VW/F4s2SA+u9PAjee Cjn9IbGcpvvX/r0ucQHiquGy1zDJjivF3RPNwBl4VyRbjgy7Ukc9jS1zq0FMsNbQBlBGw1dfsCUc8 gdqKqNbnIOsiBmE/e7hH1d9d6pmxQvBShoJersUE421/L7oh92ZOLIeTs8cEonoH4A1Xscxx2WoqX f3xLeiI8AA8qcl6qzB5LK8mMOfNIbPM1mi7GCiqTrzUYHWk2dQ7gTTnjDbXMD+8wVhtKVq8CjUpem 88yl0Tss3W0xlZG3qatA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siq3t-0000000A6br-0UpW; Tue, 27 Aug 2024 06:52:17 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siq3q-0000000A6aP-0hPZ for linux-phy@lists.infradead.org; Tue, 27 Aug 2024 06:52:15 +0000 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47R6gsgZ025889; Tue, 27 Aug 2024 06:52:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qH99Ppugc09b9ggJmb2hMn6JmwiBCCwPmQ/4GpxjvyE=; b=YpeLoDgWq7wN6f9c T+mV0/+qsLwjcaGNK4I705UUimLx4qOud5GoyMj3rtOzeV8WJAhSuXxMyn8De/S+ dvlo3NOXVbQ5n1T5bvm2yYQwIEWJGsKuEd/DcHL5oulBlpcNa6SkHwwKb8vqCl9B 08JDPFba9ieev1iCLnr05CpP+UFfh7LpKGnWao9uXiANXWaTeHSWaJ4aqZWUbxHj BTgq3lhbLkoI+D36NfTmqf5ISJYlSxomTxgAzTXseN7qC/aOYLhsraMkfoRISB0j rLPf5NvQ465Mj5xjuL14xO0Hn3WyGWv4+v/2zmqeQhic0UPFzxquSdyLTUH8sI01 vfdJVA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4199s880q7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2024 06:52:05 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47R6q47D022130 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2024 06:52:04 GMT Received: from [10.50.9.183] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 26 Aug 2024 23:51:56 -0700 Message-ID: <20d38311-ce10-4d4e-996b-24f79c051f69@quicinc.com> Date: Tue, 27 Aug 2024 12:21:51 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 3/6] phy: qcom: Introduce PCIe UNIPHY 28LP driver To: Krzysztof Kozlowski CC: , , , , , , , , , , , , , , , , , , , References: <20240827045757.1101194-1-quic_srichara@quicinc.com> <20240827045757.1101194-4-quic_srichara@quicinc.com> Content-Language: en-US From: Sricharan Ramabadhran In-Reply-To: X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: DO3zQ6_OdhKrrDFWrEU9781YgY0wg5b0 X-Proofpoint-GUID: DO3zQ6_OdhKrrDFWrEU9781YgY0wg5b0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-27_04,2024-08-26_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 priorityscore=1501 phishscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=776 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408270050 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_235214_379750_4642870F X-CRM114-Status: GOOD ( 14.27 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 8/27/2024 11:55 AM, Krzysztof Kozlowski wrote: > On Tue, Aug 27, 2024 at 10:27:54AM +0530, Sricharan R wrote: >> From: Nitheesh Sekar >> >> Add Qualcomm PCIe UNIPHY 28LP driver support present >> in Qualcomm IPQ5018 SoC and the phy init sequence. >> >> Signed-off-by: Nitheesh Sekar >> Signed-off-by: Sricharan Ramabadhran > > ... > >> +static int qcom_uniphy_pcie_probe(struct platform_device *pdev) >> +{ >> + struct qcom_uniphy_pcie *phy; >> + int ret; >> + struct phy *generic_phy; >> + struct phy_provider *phy_provider; >> + struct device *dev = &pdev->dev; >> + struct device_node *np = of_node_get(dev->of_node); >> + >> + phy = devm_kzalloc(&pdev->dev, sizeof(*phy), GFP_KERNEL); >> + if (!phy) >> + return -ENOMEM; >> + >> + platform_set_drvdata(pdev, phy); >> + phy->dev = &pdev->dev; >> + >> + phy->data = of_device_get_match_data(dev); >> + if (!phy->data) >> + return -EINVAL; >> + >> + ret = qcom_uniphy_pcie_get_resources(pdev, phy); >> + if (ret < 0) >> + dev_err_probe(&pdev->dev, ret, "Failed to get resources:\n"); > > What the hell happened here? Read my review one more time and then git > grep for usage of dev_err_probe. > Ho ok, understood, missed it, will fix and resend. Regards, Sricharan > NAK. > > Best regards, > Krzysztof > > -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy