Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10173624rwr; Fri, 12 May 2023 05:02:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Io1JdfUbomSMnNXUU7jt/wRQupaosZfYn85qyXOXUA+CF79mscxBMo+pfUJmqXhgJDXlW X-Received: by 2002:a17:903:41c8:b0:1a9:c07f:93f4 with SMTP id u8-20020a17090341c800b001a9c07f93f4mr29613719ple.55.1683892919894; Fri, 12 May 2023 05:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683892919; cv=none; d=google.com; s=arc-20160816; b=Adcn810yJQlTTVBvXPleW7Avbshunnr8wfo6yNe9EWBN+/+49kQyAg2Fghbm0xW1gJ hMWoDFNnd6M81+ej78Q9gp7kH1ECu0cluPpcRGIePHwqfJGgtnn9Ml3Al6uLSPAfkSsX vMSwt/1VzEgrkUan1gxGYl8HwvDkeODPIpbfk3d3b9MfgdvzAVlV8Xzm/JpfOUvJZjvz L413SmJ+EetuU7MyXskVkiMy0T3gSATrEXkxarlXr/St69VAzqSoMW5TypOV8I5WyL8z V1Ji24yMuGnjzRwKSrLYYyG38Sf6RUMK6ZiEZ5aLpqMbxFGMbyqySaeAY4Hy8A4V54wY fZGQ== 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=8rnc0tkWyKP0EvmlzEBinpTb1DDJ3FVse6f2h+LYmq0=; b=l/8ox9HbC9F3EdBt6FiGdc/gdqkmTxn8DXEMCnQT7KdNIJh7mHxXgVAdJm5gm7NRE3 /pdJcw/nemUi1N19uUdLYL1XMhCGPiIm9sYiOaCjzS+C28h1uAel7BxlVr3KP7lw++8z XkSdXNMYEnj1Ra6LXsC/pXLZ0SEZ77hoYSZjUf6NBHlcHbG7Srp/M7rrGMXrEgS5KvY9 xu2lxFW8Y9FStETBxpvz25Kw6bQ/SM8NYXf5P5P8jGNfD0mGRn2Qd2Z2A+5f7bKyFALK fuHYOnaH1Sos3BnJQ4qf9KlB/GgLoyA+a1qD52chkXm7Pv7CM0JXaTGtjzkT+U/mv2qk wsBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GakfyrMD; 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 h2-20020a170902748200b001aafaf1a917si8577788pll.472.2023.05.12.05.01.43; Fri, 12 May 2023 05:01:59 -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=GakfyrMD; 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 S240931AbjELLxd (ORCPT + 99 others); Fri, 12 May 2023 07:53:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240827AbjELLxb (ORCPT ); Fri, 12 May 2023 07:53:31 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D619A11572 for ; Fri, 12 May 2023 04:53:29 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3075e802738so8945392f8f.1 for ; Fri, 12 May 2023 04:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683892408; x=1686484408; 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=8rnc0tkWyKP0EvmlzEBinpTb1DDJ3FVse6f2h+LYmq0=; b=GakfyrMD+IaS8JJ8nPpGr/EK2wW9IZUFrC0uOK9/LKOtpI9iYgjAc2v/OdGRSO6P7Y wKYBQSuy86MnEKVxZLQusXIjg+1G5++kWxAoRhhAre1QazEd8jH/pFRkEc1R5qt7EW5A RrSDZT6PnUZTumVJ1aGTDCcb5LonumKu9AOjegLlasiL3XAJs3uPSJq5QJ751kWS7sI7 bYpygBziSz/dDK7LCliZuliO0ogl+uUpWGNVEYxAlfPCLw8hKzmObvXPXdv2XvCTKu74 qM+SmEzXLIFh7H+58dZvxl/5ByglWteY6Q/vwemq+WrxQHWj4bB9ZWZHtoKuAcnQf5F7 FM2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683892408; x=1686484408; 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=8rnc0tkWyKP0EvmlzEBinpTb1DDJ3FVse6f2h+LYmq0=; b=g/KCZwZ3bqKy+RUtLRx/uXZicXZJsz/5QraVDL5FSu9ykskJL2PYu9V1TZIynygiD7 ZfIC3G4RDdC+PAdDA/X+xtsfF4+wXt6mrX09m/Kz/qp4tzBw1uAAGNTVpCuEXL/FPwqj k5e1WRKAK9FYLliT5zygkF25SxnjtxqblMD1iKPwgA7luZezMmtswcxLg0DZCF8yvp57 lR8dHDFTlxNxpRQXSBq0xcK2qX6FHy355u+HEkHHyubMGWr8qeHWhA+GbvXUqTOuC7si LEHwkyptBvntWz3itQzhq1+wNiyFiJyYkzNneg25yZKdKTuMBWNUmZOXqrlTWlUPeovt wBTQ== X-Gm-Message-State: AC+VfDxvSZe5QCrjwCDHP0RmZXAwkTOO0i9GVpVclr1HJGNtv/5BBDt3 p2KhqrvFkq5vvt8Wbp0exkQ7yg== X-Received: by 2002:adf:cf06:0:b0:303:6209:65f4 with SMTP id o6-20020adfcf06000000b00303620965f4mr19121817wrj.38.1683892408345; Fri, 12 May 2023 04:53:28 -0700 (PDT) Received: from linaro.org ([86.121.163.20]) by smtp.gmail.com with ESMTPSA id n16-20020a5d67d0000000b002fae7408544sm23351302wrw.108.2023.05.12.04.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 04:53:27 -0700 (PDT) Date: Fri, 12 May 2023 14:53:26 +0300 From: Abel Vesa To: Manivannan Sadhasivam 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: 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: <20230510082555.GA7268@thinkpad> 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 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. 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 > > > > -- > மணிவண்ணன் சதாசிவம்