Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10260873rwr; Fri, 12 May 2023 06:06:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5u22685j4gsey3jg0fSc0HoykzgyETCrMvhCvvi2iH2UG0w6hlVj4m7l7BwPBGFzCmHoCU X-Received: by 2002:a05:6a00:2e21:b0:63f:1adb:bf61 with SMTP id fc33-20020a056a002e2100b0063f1adbbf61mr34788182pfb.18.1683896792516; Fri, 12 May 2023 06:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683896792; cv=none; d=google.com; s=arc-20160816; b=dridJHb8vDPXKv3jedK5yyOH2oJiJquN7skLdKcEuC4GaT/s7VbQEhUxBj1OYk9+Am X51mmcKCLqhKeaKmcpLiYSXsMng/JqNdkrfR+x1yl2/5BgTDQgBB08xAT4k3xU7Dikc1 W7eeVvtuVOXDkPK6+xXwHoKBA3kMqbVvvAA5TsOcfoYnR9NJt32JzYbuVyE7hLNCLsYS ALGKLNdaYyZo5esl9hNlG/uxRrFRUokSwduXuXIi3qgt9JaGSAl7RMm615CiCU5isFES 2OkgP2U7g5tH188Ud6HQBfRn06axgykatNaIsfMOlBxaagKO1Cq5N9/eB097HTCrEkVp 1oMA== 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=Qu/58O+9pf0u9+V9v8oS+vJYZNsaPk6xzd+mj1JOqFQ=; b=aHSAkTqF4Yc8EBE84l+pFA+rVg/6vfChhYstn1U1Qv5/CPbUpu3T1kgJnFAd0ld/Sn KbKmj31Ikf0aT7YFZci1IsGRuzzhueWSATopMoFUyTuIYX+MCHEy6lzOuh3HOS0PUYqN zLXahel+1Nxvy5EnkqIpqIYilcEDD4qm20emeT2utguSnM6OpoJQ+5JK3FLfN4e6j8VO Y/m4gQwlhyFJRURNs+WXG1IUJd4/7LlhrezC/rh3Jyl82PlXuToO1zCIRzCT0pn13GPJ V6y9I9ZVcPdqtE/mJ8Vppfd7YpCTql+bgmzSDHVNl72m1PpcjqPWv7qjID+0kYZ8V+sJ bmxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=drUCX9L1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a63734c000000b00502fdce9dcasi9241027pgn.114.2023.05.12.06.06.19; Fri, 12 May 2023 06:06:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=drUCX9L1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240465AbjELMmN (ORCPT + 99 others); Fri, 12 May 2023 08:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240382AbjELMmL (ORCPT ); Fri, 12 May 2023 08:42:11 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A57E171F for ; Fri, 12 May 2023 05:42:10 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1aad5245571so68729065ad.1 for ; Fri, 12 May 2023 05:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683895330; x=1686487330; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Qu/58O+9pf0u9+V9v8oS+vJYZNsaPk6xzd+mj1JOqFQ=; b=drUCX9L1rNzpL99T066bzQ1ykR+zm9d4HaTIie5pcv/T2mw5Ob9YeHWALcaqvyJipm YbYg6nOkOr/TKqy9VdNSVeef0wxc7wz6MZqksJJJS1lHnM+TT3uqokc1v1lJo1qZRl1w M00+XxB9j8d3UdiHW/qg0glG01JlDsNSyYTj4baj+RVgYXG6kbaoOIPq83DQjHqPJkv3 D26OZlxwl2Etzse2yz9sn+CBOhgz+iG4c/poStueJ0wddzXn9zB5fFRCgFe9S8+TmX7H h+/AVI2MHgQVyfbzdbyWyIGDJKbcScJpCaD/MAqgqNggRxARF5+Z8eGd84vfB/0DoikW 6Oyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683895330; x=1686487330; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qu/58O+9pf0u9+V9v8oS+vJYZNsaPk6xzd+mj1JOqFQ=; b=LHY2x5HCNn0gR5pQ1j8cqnk8E1r/ncTTOFYUaeeebJKrQ62pWamPxpr7T73c4J5yRE jbV5BPxHkc/H5OZJcUCthpJ/HWHaBl0f7hpZSPw4pLBN7KiZp3NO0UuUEKOS/e4lwNm9 69AkwmSpg1ziONq6KROF1UT9bu1dbywNS7Nfbn/haP0Q4G9hR80rfIrEO6rHW5RH//Nx Zn4+iB/pPNImD2rNmgJKzaPoRG8Tfd41OrPUz6ysWHfA6gql74yq7lGb6ftxuQ/0B457 OAPExOMSstX6UDiM2T3ji1u3R0+ssDN7QfRZx5B4M2ESwfKzWFsuHqDnmpu4Nk3x0kro R6bw== X-Gm-Message-State: AC+VfDwPSsG7lgWwxXDZEpXkm5c93bvS2MbLJnMhcnoRKL39vM6YFzOV Phu7IkVtBQS9JFApUD//kjoi X-Received: by 2002:a17:902:f547:b0:1ab:bfb:4b6e with SMTP id h7-20020a170902f54700b001ab0bfb4b6emr33563395plf.31.1683895329810; Fri, 12 May 2023 05:42:09 -0700 (PDT) Received: from thinkpad ([117.202.185.214]) by smtp.gmail.com with ESMTPSA id f10-20020a17090274ca00b001ab28f620d0sm7826980plt.290.2023.05.12.05.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 05:42:09 -0700 (PDT) Date: Fri, 12 May 2023 18:12:03 +0530 From: Manivannan Sadhasivam To: Abel Vesa Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , Ulf Hansson , Jakub Kicinski , Eric Biggers , Stephen Rothwell Subject: Re: [PATCH] soc: qcom: Rename ice to qcom-ice to avoid module name conflict Message-ID: <20230512124203.GA13620@thinkpad> References: <20230510074404.3520340-1-abel.vesa@linaro.org> <20230510082555.GA7268@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 12, 2023 at 02:53:26PM +0300, Abel Vesa wrote: > On 23-05-10 13:55:55, Manivannan Sadhasivam wrote: > > On Wed, May 10, 2023 at 10:44:04AM +0300, Abel Vesa wrote: > > > The following error was reported when building x86_64 allmodconfig: > > > > > > error: the following would cause module name conflict: > > > drivers/soc/qcom/ice.ko > > > drivers/net/ethernet/intel/ice/ice.ko > > > > > > Seems the 'ice' module name is already used by some Intel ethernet > > > driver, so lets rename the Qualcomm Inline Crypto Engine (ICE) from > > > 'ice' to 'qcom-ice' to avoid any kind of errors/confusions. > > > > > > Reported-by: Stephen Rothwell > > > Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver") > > > Signed-off-by: Abel Vesa > > > --- > > > > > > The build failure was reported here: > > > https://lore.kernel.org/all/20230510111833.17810885@canb.auug.org.au/ > > > > > > drivers/soc/qcom/Makefile | 2 +- > > > drivers/soc/qcom/{ice.c => qcom-ice.c} | 0 > > > 2 files changed, 1 insertion(+), 1 deletion(-) > > > rename drivers/soc/qcom/{ice.c => qcom-ice.c} (100%) > > > > > > > You can just rename the module name to "qcom-ice" and still keep the driver name > > as "ice" as it is already under "qcom" subdirectory. > > > > We do it for other drivers as well. > > Yes, but in this case, it is not worth keeping the file name as is. > Since you already have "qcom" as the parent directory name, I don't know how adding "qcom" prefix for the drivers in child directory helps. It is required for the module name but not for the driver name. If you look at current qcom soc drivers, then most of them are without prefix but _some_ are with prefix. And the later ones doesn't make sense to me, But I'll leave it to Bjorn to take the call. - Mani > I'll send another version of this patch with the filename as qcom_ice.c > in order to be inline with the other ones. > > > > > - Mani > > > > > diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile > > > index 0f43a88b4894..30219c164cb0 100644 > > > --- a/drivers/soc/qcom/Makefile > > > +++ b/drivers/soc/qcom/Makefile > > > @@ -32,4 +32,4 @@ obj-$(CONFIG_QCOM_RPMHPD) += rpmhpd.o > > > obj-$(CONFIG_QCOM_RPMPD) += rpmpd.o > > > obj-$(CONFIG_QCOM_KRYO_L2_ACCESSORS) += kryo-l2-accessors.o > > > obj-$(CONFIG_QCOM_ICC_BWMON) += icc-bwmon.o > > > -obj-$(CONFIG_QCOM_INLINE_CRYPTO_ENGINE) += ice.o > > > +obj-$(CONFIG_QCOM_INLINE_CRYPTO_ENGINE) += qcom-ice.o > > > diff --git a/drivers/soc/qcom/ice.c b/drivers/soc/qcom/qcom-ice.c > > > similarity index 100% > > > rename from drivers/soc/qcom/ice.c > > > rename to drivers/soc/qcom/qcom-ice.c > > > -- > > > 2.34.1 > > > > > > > -- > > மணிவண்ணன் சதாசிவம் -- மணிவண்ணன் சதாசிவம்