Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2558636rdb; Mon, 4 Dec 2023 00:20:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVccL/Xp2sEmCpFzp60NUwaF+CHTYV2Gcn4UecI0pA/bu7Udp34wBBOYFNCmRxFWZhOGnH X-Received: by 2002:a05:6358:4411:b0:170:17eb:14b2 with SMTP id z17-20020a056358441100b0017017eb14b2mr1629041rwc.34.1701678004188; Mon, 04 Dec 2023 00:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701678004; cv=none; d=google.com; s=arc-20160816; b=G9rkMGPjuqGN6xqL/rCBGh+2wCzcLuBLgbVYUtgZa93gADrfoglPyn4Wx7HTd+eIlv 4vY7pT7YUC0RgWhGn2wAiQd40P10J/gJdJvIwg0GLZ5QotLJKRDngJkgWFTe3cvHC6Gv 4Ex2kCXCD+T0yjLSYdbUif3A/cytulp8trrDofFvD63GVedyVeJX+DX154M371xRrUPl MthTXMlKlC1mxxfxABE5Eb5mE/2yK6US3O3vg22ZqsWMV91zedX4Rz7n+D1208GWSkok hsj4fewoMHCij9sABEuSKfd/xCWAwxRXXKOwJniY8jhCMG3fEEl1DnP+0fP5sY12gw7n jYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=7lyoP0LlnyFu/BiIos9IGHaAeEk3gWrvekSiH1bCIn4=; fh=N6k0aKCpAipHptJ9DQrTNkDaeSEW+f/1VuckWcV1SCc=; b=Fjl+0kMi2ahaxDVr1uPcCV4J8Kw3uCYKsSZ5rZXkRRk4q6CE1rOIar5oeFbExZNdK3 xi7dwh/o+NY37lwwefy3aaizZ7HCsXyxoXPPCiTBLrWt8lB+AbVgS8xXeio2yNc+fGkX dH6Q8Th+yhMiiQ7J+bUjSjKiaT3Yny+/h7vuhZSdiHjqN60wiDPFYrsA5WDh7Xl3+Aex +zeIMWsZyWkt2f+dFhkD2HYk6si3yAdLLXBHIuDA6wAmvtFOEVKdurkPO9xKPXzSZ0T9 SVNrnHiJ/thbWcftNh2bTpHJVYXzGtTIGR3zZgdx8lCdXXYchysys4UmLINaNEK9x+md tKag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RLFsYv4f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bq5-20020a056a000e0500b006ce4f45bf70si1511415pfb.285.2023.12.04.00.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:20:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RLFsYv4f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C26218083E6F; Mon, 4 Dec 2023 00:20:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjLDITq (ORCPT + 99 others); Mon, 4 Dec 2023 03:19:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDITp (ORCPT ); Mon, 4 Dec 2023 03:19:45 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD983CB; Mon, 4 Dec 2023 00:19:51 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B45k8te017698; Mon, 4 Dec 2023 08:19:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=7lyoP0LlnyFu/BiIos9IGHaAeEk3gWrvekSiH1bCIn4=; b=RLFsYv4fiYvJnnn0rht1OjA7dOGI0xmtFVzY/zABzsQeDSMXPyG8ZGSe/9U7Ay0NeSeM TBavSBakVzUQyROg+Y4d+MqFb2WI5dS5d+NrzELQ/UOsDa9FOK7qAxunx7Awxft479yA e9/JhUCoCBqDE8ipOBIlFY+w+2V4V9UrkLHWx8w+Ge1hykOO0zDPKj5ixYtewJqaKYpv p3eGMPAWL3uOif+EK8lW1XP20xLk5OXQwjZ6h7ADgXG/Y29JW06zeMTqNIKdsgH27DVB xpOorKMUNeHO+PUniXi3BrcPjEyC4Qsy5+5Ncjv9smKFkmPy1WvgbTtT9pRYPp8ZyCtz 1w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3us8wpgahs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Dec 2023 08:19:47 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B48JkiJ002607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Dec 2023 08:19:46 GMT Received: from [10.239.132.204] (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.1118.40; Mon, 4 Dec 2023 00:19:40 -0800 Message-ID: <34f7ac9b-e84d-45a0-9f43-c59fed7ee887@quicinc.com> Date: Mon, 4 Dec 2023 16:19:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/4] pinctrl: qcom: Add SM4450 pinctrl driver To: Krzysztof Kozlowski , , , , CC: , , , References: <20231130024046.25938-1-quic_tengfan@quicinc.com> <20231130024046.25938-3-quic_tengfan@quicinc.com> <1d2fbb36-9476-4f32-8bcd-33fd5dcbd6e4@kernel.org> <1b65f67a-8142-4690-af6e-4a0bf641b7be@kernel.org> <6539d781-ecb2-4ffe-9daa-e82ec8d70bea@kernel.org> From: Tengfei Fan In-Reply-To: <6539d781-ecb2-4ffe-9daa-e82ec8d70bea@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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-GUID: cwUTpANtwVprO9cylqH2B0-jty5eIOyQ X-Proofpoint-ORIG-GUID: cwUTpANtwVprO9cylqH2B0-jty5eIOyQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-04_06,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 clxscore=1015 malwarescore=0 bulkscore=0 phishscore=0 mlxlogscore=745 impostorscore=0 adultscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312040062 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 00:20:01 -0800 (PST) 在 12/4/2023 4:14 PM, Krzysztof Kozlowski 写道: > On 04/12/2023 09:06, Tengfei Fan wrote: >> >> >> 在 12/4/2023 3:56 PM, Krzysztof Kozlowski 写道: >>> On 04/12/2023 02:57, Tengfei Fan wrote: >>>> >>>> >>>> 在 11/30/2023 7:57 PM, Krzysztof Kozlowski 写道: >>>>> On 30/11/2023 03:40, Tengfei Fan wrote: >>>>>> Add pinctrl driver for TLMM block found in SM4450 SoC. >>>>>> >>>>>> Reviewed-by: Bjorn Andersson >>>>>> Signed-off-by: Tengfei Fan >>>>>> --- >>>>>> drivers/pinctrl/qcom/Kconfig.msm | 8 + >>>>>> drivers/pinctrl/qcom/Makefile | 1 + >>>>>> drivers/pinctrl/qcom/pinctrl-sm4450.c | 1013 +++++++++++++++++++++++++ >>>>>> 3 files changed, 1022 insertions(+) >>>>>> create mode 100644 drivers/pinctrl/qcom/pinctrl-sm4450.c >>>>>> >>>>> >>>>> Hm, was this patch ever built? >>>>> >>>>> Best regards, >>>>> Krzysztof >>>>> >>>> This patch has been built before, I will check and compare if there are >>>> any errors and changes when I submitted this patch series. >>>> >>> >>> No, it wasn't built. I just tried - applied it and: >>> >>> pinctrl-sm4450.c:996:19: error: initialization of ‘int (*)(struct >>> platform_device *)’ from incompatible pointer type ‘void (*)(struct >>> platform_device *)’ [-Werror=incompatible-pointer-types] >>> 996 | .remove = msm_pinctrl_remove, >>> | ^~~~~~~~~~~~~~~~~~ >>> ../drivers/pinctrl/qcom/pinctrl-sm4450.c:996:19: note: (near >>> initialization for ‘sm4450_tlmm_driver.remove’) >>> >>> So you just sent a patch which was not even compiled. >>> >>> NAK. >>> >>> Best regards, >>> Krzysztof >>> >> I compiled all the related patches together, but I did not compile this >> patch separately. > > We talk about this patch here. Please do not send knowingly wrong code, > because it does not make sense and hurts bisectability. Sure, I will avoid similar problems in the future. > >> The fact that there is a compilation problem is known, but because the >> patch is already reviewed-by, so a separate patch(patch 3) is submitted >> to fix the compilation error. > > That's not the process. Each patch must be correct. Each. Yes, the correctness of each patch will be ensured in the future. > > Best regards, > Krzysztof > -- Thx and BRs, Tengfei Fan