Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp816864rdb; Thu, 30 Nov 2023 21:53:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcwqzhbCBI7sfmQBUcBsvQ67ENQasUu5LZZgvbOeZ404oYSpcAupcs1Oh9MeiHs1QPy5YL X-Received: by 2002:a05:6a21:a583:b0:186:2389:a73e with SMTP id gd3-20020a056a21a58300b001862389a73emr33298712pzc.55.1701410017476; Thu, 30 Nov 2023 21:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701410017; cv=none; d=google.com; s=arc-20160816; b=YRc0BvYFRkLuUdt4NCvjr0An2t9yyLvRsvEDFcgQQ4y3cMNroLslNTcDbyqYJVWGV4 QSKlbiFrVNdfoM5wH2uTicl8RfQY1z8mizJbSx0hwWt22Kl+pp3nnlNMSKn4RizKBtZr NUojszetJ+hXUW2X3c4i6v2pWsJL5Y7U5/huS/GYnYYtotwmsYgznHGvkrZbNpzz2Iyp rl79ZRsYTeCJuHQ15jzRxuFa3VlvxKO31Wwxo7XjSXDcG6PHOTsaeakLTr0xZlRwJ6hc vTPhtYAcWVgx/aprrGv/sJ7vJllYVEWOlnS1OqePh+xWtZmMDgaNMnA8NVsm6N5Sf16R GQsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MU4beCXdD5yCBc5XbEdE181RONf5UhO2ZOn4r/M+g8E=; fh=WGKpSbkDraZvvHRUCIQ8FY0zv8gw3Rf0O70LpCfES5o=; b=nFMk8wOIko2G8FMXqfnDmxIAI8XPrzYJRcThMJ9Mi/kARRN6V1x9KKcBZapD9PYlkC Z8wmi0mzN27yYV8u8phkyNstWuJwkZsWUC/LOAl8Jsxzu5UXEvO6HzwLfL+ubdteMtoD g9/Kc6T3ZNjKXUuaLu7w/sSZ98WnyhojU35aFKdlXaJuanj3rCMmNIEuAW6/DAHnb3Yy +/NRdY0TDc9X48b76eldr4cCezQgAJK+NAsQzRwcQNFvAjWSIg/X+ByrRvdDe/QgC6bc yCJuxhNFR3M5PuhbJiwypcdBrWsKafXEFDS1I0yS1ANAZPUGCQt7ND2aSaBVrdTfSoa+ TYDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l5SIO7L3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k5-20020aa788c5000000b006cbed8953e9si2787088pff.90.2023.11.30.21.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 21:53:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l5SIO7L3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 928FE8142DBE; Thu, 30 Nov 2023 21:53:34 -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 S1377536AbjLAFxQ (ORCPT + 99 others); Fri, 1 Dec 2023 00:53:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232286AbjLAFxM (ORCPT ); Fri, 1 Dec 2023 00:53:12 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 546A31703 for ; Thu, 30 Nov 2023 21:53:19 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5F47C433C9; Fri, 1 Dec 2023 05:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701409998; bh=PjqPb511ws4okVmdJfgOF6OoXYOFE+we11wjlLHkrwA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l5SIO7L35M/feZxylEJcLbwmAfv9nDIkZdr7wp9zag0UmZuc7g9kB70PvjS5qmwAQ THSLnho/tjROsSocd2Ko7u2kc3zI43/o9+XatmAv54yRfI3dG7nWmrePnk5WdMVPTx 3KzOddMcr2R+yDXJIQo6AsE8YRxLK2erni5iUurZcpJ34nxw+aHLT7S5lea8b7yiwp EtsVaVMasDliq2wQdfmGMCNOKDOaPNYNq9Q4cERWRRv79wtT1rWcuJdf1x3S2XLne0 QCo6S1IIRu0GvZilFTbFtVMWfq6Qo56GeAgGIuMuxGl70eR5fLf3DSfiHlhhipMNxr 2UOEUq+2iUlcg== Date: Fri, 1 Dec 2023 11:22:58 +0530 From: Manivannan Sadhasivam To: Mrinmay Sarkar Cc: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, robh@kernel.org, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, quic_parass@quicinc.com, quic_schintav@quicinc.com, quic_shijjose@quicinc.com, Manivannan Sadhasivam , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Kishon Vijay Abraham I , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mhi@lists.linux.dev Subject: Re: [PATCH v8 3/5] PCI: epf-mhi: Add "pci_epf_mhi_" prefix to the function names Message-ID: <20231201055258.GH4009@thinkpad> References: <1699669982-7691-1-git-send-email-quic_msarkar@quicinc.com> <1699669982-7691-4-git-send-email-quic_msarkar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1699669982-7691-4-git-send-email-quic_msarkar@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Thu, 30 Nov 2023 21:53:34 -0800 (PST) On Sat, Nov 11, 2023 at 08:02:59AM +0530, Mrinmay Sarkar wrote: > Without the prefix, the function name would appear as > "/sys/kernel/config/functions/{sdx55/sm8450}". This will be a problem if > multiple functions are supported for this endpoint device. > > So let's add the "pci_epf_mhi_" prefix to identify _this_ function > uniquely. Even though it is an ABI breakage, this driver is not used > anywhere outside Qcom and myself to my knowledge. So it safe to change > the function name. > > Signed-off-by: Manivannan Sadhasivam Since I authored this patch and shared it with you, the authorship needs to be preserved. If you just apply the patch using 'git am' it would do the right thing. - Mani > Signed-off-by: Mrinmay Sarkar > --- > drivers/pci/endpoint/functions/pci-epf-mhi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/pci/endpoint/functions/pci-epf-mhi.c b/drivers/pci/endpoint/functions/pci-epf-mhi.c > index b7b9d3e..5b0515a 100644 > --- a/drivers/pci/endpoint/functions/pci-epf-mhi.c > +++ b/drivers/pci/endpoint/functions/pci-epf-mhi.c > @@ -677,8 +677,8 @@ static int pci_epf_mhi_probe(struct pci_epf *epf, > } > > static const struct pci_epf_device_id pci_epf_mhi_ids[] = { > - { .name = "sdx55", .driver_data = (kernel_ulong_t)&sdx55_info }, > - { .name = "sm8450", .driver_data = (kernel_ulong_t)&sm8450_info }, > + { .name = "pci_epf_mhi_sdx55", .driver_data = (kernel_ulong_t)&sdx55_info }, > + { .name = "pci_epf_mhi_sm8450", .driver_data = (kernel_ulong_t)&sm8450_info }, > {}, > }; > > -- > 2.7.4 > -- மணிவண்ணன் சதாசிவம்