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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2312C3DA60 for ; Thu, 18 Jul 2024 09:49:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 54D2F6B0085; Thu, 18 Jul 2024 05:49:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4FD876B0088; Thu, 18 Jul 2024 05:49:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3C4D76B0089; Thu, 18 Jul 2024 05:49:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 1D0A96B0085 for ; Thu, 18 Jul 2024 05:49:20 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id B93B71219F3 for ; Thu, 18 Jul 2024 09:49:19 +0000 (UTC) X-FDA: 82352400438.24.AF13618 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by imf09.hostedemail.com (Postfix) with ESMTP id 4C643140008 for ; Thu, 18 Jul 2024 09:49:17 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=osE978QI; spf=pass (imf09.hostedemail.com: domain of quic_jkona@quicinc.com designates 205.220.180.131 as permitted sender) smtp.mailfrom=quic_jkona@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721296125; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=WxIGlUH25cr67qIsLSBnWblmw8oifFsdfiBGOgKuQnQ=; b=8BZImxxAGXQuyDyOeOkcgOiKdejlDfOGNKj3kojLYVW9A+EDcNTImtsHz419ek2lBB49RC GRbp7Lzv3X5TEV/7jNzLOhF5AQ8L+IJd5/dfn0pjMe8A72bOtvGNBdl4ecliQSZznOigbX EdIfJmYygCWYu8OPMATq0E87f74srEM= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcppdkim1 header.b=osE978QI; spf=pass (imf09.hostedemail.com: domain of quic_jkona@quicinc.com designates 205.220.180.131 as permitted sender) smtp.mailfrom=quic_jkona@quicinc.com; dmarc=pass (policy=none) header.from=quicinc.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721296125; a=rsa-sha256; cv=none; b=c4eNiP+KV9kmsptw7lB6CYHMfhsLKSot1hxPvX+4YtmLJIlo8RZMFJdcx/lajdhyPniHah RheDF2DzFDNErTZysbS1hjLCJxAPDPMkXp8oxBPIgTxnB2RHqKYfd/i4tbomxwBrGO+W7G zOi1tFV6AwXmGjcJKpm6smY77ypvfVo= Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46I9OnsR031888; Thu, 18 Jul 2024 09:49:09 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= WxIGlUH25cr67qIsLSBnWblmw8oifFsdfiBGOgKuQnQ=; b=osE978QICJiOTolm C/vgLC9ZJ1kZ2s9NucVq3gNHFnZQQ7ABV7ovF/mK1+10KLVUloYMsjr1OsWAswbY efpj/Ltkdl0bej4L4URDK3rH+TGHt8bZ1MBU/m7zIZ99842+2m4BLx9xdjcNmJvh vcir3lPTbhefutCfbGuhG11hHcmr2m+dygpak5Fd5TyqgB1JSexxb4xeGxMvil7M PoazuAU+VB2AnO2CO5RRMX5LZ/BpMsfqGlAYT2oR0qnoU29LLfyBdDxc6/EROclB o4TI3EH3+HPaSgruXEHlaF7pKQ+86kJtfVMPCd3tPW/Zrkph2uPuP1b61C0q8dmM SWoHxA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 40dwfpn115-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jul 2024 09:49:09 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 46I9n71K017962 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jul 2024 09:49:07 GMT Received: from [10.217.216.47] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 18 Jul 2024 02:49:03 -0700 Message-ID: Date: Thu, 18 Jul 2024 15:18:47 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [linux-next:master 7766/10451] drivers/clk/qcom/camcc-sm8650.c:3573:29: error: incompatible pointer types passing 'struct device *' to parameter of type 'struct platform_device *' To: Krzysztof Kozlowski , kernel test robot CC: , , "Linux Memory Management List" , Bjorn Andersson , Bryan O'Donoghue , Dmitry Baryshkov , Vladimir Zapolskiy , Taniya Das , "Ajit Pandey" , Imran Shaik References: <202407072331.baglL4Sd-lkp@intel.com> Content-Language: en-US From: Jagadeesh Kona In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: N2C0xfEls1-y_3w29hChjKm-EIM-Djkx X-Proofpoint-GUID: N2C0xfEls1-y_3w29hChjKm-EIM-Djkx 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-07-18_06,2024-07-17_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 phishscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2407180063 X-Stat-Signature: mh9mibuxj1jiakuxc585pi1zxknxia4d X-Rspam-User: X-Rspamd-Queue-Id: 4C643140008 X-Rspamd-Server: rspam02 X-HE-Tag: 1721296157-922392 X-HE-Meta: U2FsdGVkX18tH+OW4WEcoCDsY0S2eWLk/6Y95mD3BZ4nOdZKg7JjL4a6uuemoUzIJqz02Ef7XEQmtqoE4nXfCIwtbSLFig4LfcahNCT68c7MqX3cxoiMZKvMdGV9WNHLiGygSyVrdaPL1H85JRZn6/M0Pd9sFMr9w6+xtF+D55GWWZyhdRYVFJ9F5rZgCjrQQXlzIPVW4Oq8IkSrKePq4lrWt5FnZaslGkpsMxGid5wMDX8soa7u3ivVhp6d6XE2ljfexh/Fuo13+I8T1DR58jg+E7Htw9UaJD+HegkBOdRrPet0Rz5qEjlbgNNI9oTcwv/2ZHwAAdW9wGm4BV6K99WjF2L2U/SAA4/0Jq0ZWIDQNaxMDSPl3W6xyoyBbxdFnbBk+JvZA4beu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dDhi2noJ+GtOYODplT0HjUEcuSsXiC8PbNH1wFdwolEmgmFGDFwSroTekAoEYahcnmOmK7a/yT0iBhxdpYAuiZnGl+GCIOiqBOW4szvxux6xgIlxny2Oh4WmDrwOsedOqNwwUcWF7TibowbdxbIRQc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On 7/18/2024 12:18 PM, Krzysztof Kozlowski wrote: > On 07/07/2024 17:20, kernel test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> head: 0b58e108042b0ed28a71cd7edf5175999955b233 >> commit: 09ea421652a832083ea380a72addf383965f3682 [7766/10451] clk: qcom: camcc-sm8650: Add SM8650 camera clock controller driver >> config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240707/202407072331.baglL4Sd-lkp@intel.com/config) >> compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) >> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240707/202407072331.baglL4Sd-lkp@intel.com/reproduce) > > This and this: > https://lore.kernel.org/all/202407072212.WptVaUDt-lkp@intel.com/ > > are reports on linux-next. They were addressed to you/ > > Jagadeesh, how did you respond to public reports that your commit has > build failures in linux-next? > > It reached now Linus' tree causing huge rant, unfortunately not in the > direction we would like that rant to go. > > If you receive a report that your code does not even compile, it is YOUR > DAMN MOST IMPORTANT TASK to address it IMMEDIATELY. > > I don't think such code should be ever accepted if contributors do not > take responsibility for their commits. > > Krzysztof > I initially submitted my change [1] by passing pdev to qcom_cc_really_probe(). Seems like due to [2] which changed the qcom_cc_really_probe() parameters from pdev to dev, my change was updated from pdev to &pdev->dev while applying. When this issue was reported by kernel bot, I checked out the linux-next tree but I didn't see this failure since the common change [2] was already merged into linux-next. I apologize for not reverting the same over the email thread. But change [2] was somehow missed and only my change [1] landed up in Linus's tree, which led to this failure as Arnd described in [3]. [1] https://lore.kernel.org/all/20240602114439.1611-8-quic_jkona@quicinc.com/ [2] https://lore.kernel.org/all/20240507130531.3286999-4-quic_luoj@quicinc.com/#Z31drivers:clk:qcom:common.c [3] https://lore.kernel.org/lkml/ed757bc4-38ba-420a-9da8-d7de1f1123f6@app.fastmail.com/#t Thanks, Jagadeesh >> >> If you fix the issue in a separate patch/commit (i.e. not just a new version of >> the same patch/commit), kindly add following tags >> | Reported-by: kernel test robot >> | Closes: https://lore.kernel.org/oe-kbuild-all/202407072331.baglL4Sd-lkp@intel.com/ >> >> Note: the linux-next/master HEAD 0b58e108042b0ed28a71cd7edf5175999955b233 builds fine. >> It may have been fixed somewhere. >> >> All errors (new ones prefixed by >>): >> >>>> drivers/clk/qcom/camcc-sm8650.c:3573:29: error: incompatible pointer types passing 'struct device *' to parameter of type 'struct platform_device *' [-Werror,-Wincompatible-pointer-types] >> 3573 | ret = qcom_cc_really_probe(&pdev->dev, &cam_cc_sm8650_desc, regmap); >> | ^~~~~~~~~~ >> drivers/clk/qcom/common.h:63:57: note: passing argument to parameter 'pdev' here >> 63 | extern int qcom_cc_really_probe(struct platform_device *pdev, >> | ^ >> 1 error generated. >>