* [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict
@ 2023-05-12 12:36 Abel Vesa
2023-05-12 12:39 ` Mukesh Ojha
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Abel Vesa @ 2023-05-12 12:36 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, Linux Kernel Mailing List, Ulf Hansson,
Jakub Kicinski, Eric Biggers, manivannan.sadhasivam,
Stephen Rothwell
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 <sfr@canb.auug.org.au>
Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Changes since v1:
* changed filename from qcom-ice.c to qcom_ice.c (with underscore)
to be in line with other Qcom SoC drivers.
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%)
diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
index 0f43a88b4894..cacf3113ec3c 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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict
2023-05-12 12:36 [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict Abel Vesa
@ 2023-05-12 12:39 ` Mukesh Ojha
2023-05-12 15:58 ` Eric Biggers
2023-05-25 4:53 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Mukesh Ojha @ 2023-05-12 12:39 UTC (permalink / raw)
To: Abel Vesa, Andy Gross, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, Linux Kernel Mailing List, Ulf Hansson,
Jakub Kicinski, Eric Biggers, manivannan.sadhasivam,
Stephen Rothwell
On 5/12/2023 6:06 PM, 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 <sfr@canb.auug.org.au>
> Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
-- Mukesh
> ---
>
> Changes since v1:
> * changed filename from qcom-ice.c to qcom_ice.c (with underscore)
> to be in line with other Qcom SoC drivers.
>
> 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%)
>
> diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
> index 0f43a88b4894..cacf3113ec3c 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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict
2023-05-12 12:36 [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict Abel Vesa
2023-05-12 12:39 ` Mukesh Ojha
@ 2023-05-12 15:58 ` Eric Biggers
2023-05-25 4:53 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Eric Biggers @ 2023-05-12 15:58 UTC (permalink / raw)
To: Abel Vesa
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
Linux Kernel Mailing List, Ulf Hansson, Jakub Kicinski,
manivannan.sadhasivam, Stephen Rothwell
On Fri, May 12, 2023 at 03:36:32PM +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 <sfr@canb.auug.org.au>
> Fixes: 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>
> Changes since v1:
> * changed filename from qcom-ice.c to qcom_ice.c (with underscore)
> to be in line with other Qcom SoC drivers.
>
> 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%)
I'd also prefer that the filename stayed ice.c and just the module was renamed,
given that this is already in the drivers/soc/qcom/ directory.
- Eric
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict
2023-05-12 12:36 [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict Abel Vesa
2023-05-12 12:39 ` Mukesh Ojha
2023-05-12 15:58 ` Eric Biggers
@ 2023-05-25 4:53 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2023-05-25 4:53 UTC (permalink / raw)
To: Abel Vesa, Andy Gross, Konrad Dybcio
Cc: linux-arm-msm, Ulf Hansson, Stephen Rothwell,
Linux Kernel Mailing List, Jakub Kicinski, Eric Biggers,
manivannan.sadhasivam
On Fri, 12 May 2023 15:36:32 +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.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: Rename ice to qcom_ice to avoid module name conflict
commit: 47820d3263a4a7ba258fe2efe26ae5afb5b83036
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-25 4:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-12 12:36 [PATCH v2] soc: qcom: Rename ice to qcom_ice to avoid module name conflict Abel Vesa
2023-05-12 12:39 ` Mukesh Ojha
2023-05-12 15:58 ` Eric Biggers
2023-05-25 4:53 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®