Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4005652imm; Mon, 18 Jun 2018 07:41:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ0/zPO5xXr5/jmQjYq/IpiI/rre4U7PoaSPO1RdMBX+7Jj5vaPCkYjaxpd32h19iZOJvh9 X-Received: by 2002:a65:4985:: with SMTP id r5-v6mr11281278pgs.110.1529332891108; Mon, 18 Jun 2018 07:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529332891; cv=none; d=google.com; s=arc-20160816; b=0WJxiTahngPHf2/gHh0BN2TIZDflY01hHKFSklE1x4xhNKzXk/f/plMsarAnXzCgxW nf03BD/x9BjUYHkibcBW2Eecdz+/JQXi3FnHoWlCZva3m8elpZr9XDNfy1iIiVAxHHoy VZ1OsRy7iWr5V9f4R8Rk5GGQesW2T73EcB/AOXze0+eXpexhzuYaL1Jh4GceeJJu+cWh ZUvJfcgvaGFocyXWGbkvzX3t27zsmKItYfe/9rFSXuAX5JigSahpNrgIiAHehtRQYZqW Gexg70E5xC8JBfNdGFU3BA6AOJp9rwNCclCxqMVU+gb870yNIK6/TKabwNpc5PaiSvcq wz4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=5RIZ49z4R05Qv+exmZouM/1GAm6RFvWJsnPmGMoguB0=; b=nndNMXjCJPh+fPjPRbk7zpmDtyHiMWOYv+891gjMKSwXNLf27d4GUvfXIEXRcB7vGt E/dtHBRryzSx2aRyAvb69p4UybO7EIStif7nsGVIG3WeJ0qZyLweIWa1G+yvbMm6/nVO zVr+k0VXen6G85Sirx1QdRX20EbqOJaNQR/lz8+sYffPsb3Mr3MRxfjNfaasyCKWybA0 +buKS2HHTGEL5b/sNU53RqMIsSbUuUi9ZETUOEuqbx5txdsz3MBf8aDQJrdnq7ZBb7e+ Q+dzHdx3WTw/AM9HtG1+0JXS/1pHmY4omrD09alm+zQ794oOVEC4SKtvgeczuTZZkK5k n94g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BIUDydEZ; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4-v6si12103440pgp.594.2018.06.18.07.41.16; Mon, 18 Jun 2018 07:41:31 -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=@oracle.com header.s=corp-2017-10-26 header.b=BIUDydEZ; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935052AbeFROkd (ORCPT + 99 others); Mon, 18 Jun 2018 10:40:33 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:56286 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934367AbeFROka (ORCPT ); Mon, 18 Jun 2018 10:40:30 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5IEctu9182275; Mon, 18 Jun 2018 14:40:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=5RIZ49z4R05Qv+exmZouM/1GAm6RFvWJsnPmGMoguB0=; b=BIUDydEZ9bASxSvr7BouR/NAfOVZBWbiCVmtJC5kFSTYZm68b9F8UBwVBWuf4ottco8v ohKrRRMS8bvhwLxz7KRqpDyhPn3A8FaNHiBzNxJg1BNnKY9+DesoVAaqGqXJvJP/Orbg eR3AwS9//GPZ7xB+btF4WMWISrnJ6k9JDUiRickLZ280R1HVMbwO0pevIG+Mgy36xqMq WQgJvqljHCbxc2cb45NEEf6RNHrDeX2brvomKS3JafUs/p+vtUNssW/LFvjbMVxq9j1G aQlMAMRaKiVzuAkENoThcQy4uajE7ekSSgBpB1gf4LEFB3JAV/sWsGp8MPkL9gUgXpm/ OQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2jmu6xmayt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Jun 2018 14:40:25 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5IEeOqG011547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Jun 2018 14:40:24 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5IEeNVj027530; Mon, 18 Jun 2018 14:40:23 GMT Received: from mwanda (/197.157.0.62) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Jun 2018 07:40:23 -0700 Date: Mon, 18 Jun 2018 17:40:11 +0300 From: Dan Carpenter To: kbuild@01.org, Taniya Das Cc: kbuild-all@01.org, Stephen Boyd , Michael Turquette , robh@kernel.org, Andy Gross , David Brown , Rajendra Nayak , Amit Nischal , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rohit Kumar , Taniya Das Subject: Re: [PATCH 2/2] clk: qcom: Add lpass clock controller driver for SDM845 Message-ID: <20180618144011.v5uwk4lkiuynggl3@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528961943-12506-3-git-send-email-tdas@codeaurora.org> User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8927 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806180174 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Taniya, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Taniya-Das/Add-support-for-LPASS-clock-controller-for-SDM845/20180614-155144 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next smatch warnings: drivers/clk/qcom/lpasscc-sdm845.c:197 lpass_clocks_sdm845_probe() warn: passing zero to 'PTR_ERR' # https://github.com/0day-ci/linux/commit/035d2520712de752be68d10a37650b65b6aee154 git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 035d2520712de752be68d10a37650b65b6aee154 vim +/PTR_ERR +197 drivers/clk/qcom/lpasscc-sdm845.c 035d2520 Taniya Das 2018-06-14 179 035d2520 Taniya Das 2018-06-14 180 static int lpass_clocks_sdm845_probe(struct platform_device *pdev, 035d2520 Taniya Das 2018-06-14 181 struct device_node *np, 035d2520 Taniya Das 2018-06-14 182 const struct qcom_cc_desc *desc) 035d2520 Taniya Das 2018-06-14 183 { 035d2520 Taniya Das 2018-06-14 184 struct regmap *regmap; 035d2520 Taniya Das 2018-06-14 185 struct resource res; 035d2520 Taniya Das 2018-06-14 186 void __iomem *base; 035d2520 Taniya Das 2018-06-14 187 035d2520 Taniya Das 2018-06-14 188 if (of_address_to_resource(np, 0, &res)) 035d2520 Taniya Das 2018-06-14 189 return -ENOMEM; 035d2520 Taniya Das 2018-06-14 190 035d2520 Taniya Das 2018-06-14 191 base = devm_ioremap(&pdev->dev, res.start, resource_size(&res)); 035d2520 Taniya Das 2018-06-14 192 if (IS_ERR(base)) 035d2520 Taniya Das 2018-06-14 193 return -ENOMEM; 035d2520 Taniya Das 2018-06-14 194 035d2520 Taniya Das 2018-06-14 195 regmap = devm_regmap_init_mmio(&pdev->dev, base, desc->config); 035d2520 Taniya Das 2018-06-14 196 if (!regmap) 035d2520 Taniya Das 2018-06-14 @197 return PTR_ERR(regmap); ^^^^^^^^^^^^^^^ 035d2520 Taniya Das 2018-06-14 198 035d2520 Taniya Das 2018-06-14 199 return qcom_cc_really_probe(pdev, desc, regmap); 035d2520 Taniya Das 2018-06-14 200 } 035d2520 Taniya Das 2018-06-14 201 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation