Skip to contentSkip to conversation

soc: qcom: Rename ice to qcom_ice to avoid module name conflict

PATCH Applied Abel Vesa 4 participants 4 messages May 12, 2023 – May 25, 2023

Subsystems (3)

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH v2 1/1 soc: qcom: Rename ice to qcom_ice to avoid module name conflict

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.

Fixes 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")

---

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%)
drivers/soc/qcom/Makefile +1 -1
index 0f43a88b4894..cacf3113ec3c 100644
@@ -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
drivers/soc/qcom/qcom_ice.c renamed from drivers/soc/qcom/ice.c +0 -0
similarity index 100%
rename from drivers/soc/qcom/ice.c
rename to drivers/soc/qcom/qcom_ice.c
Signature · 1 line
2.34.1
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines · Abel Vesa

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

Quoted 7 lines

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.

Fixes 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")

-- Mukesh

Quoted 25 lines

---

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%)

drivers/soc/qcom/Makefile +1 -1
index 0f43a88b4894..cacf3113ec3c 100644
@@ -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
drivers/soc/qcom/qcom_ice.c renamed from drivers/soc/qcom/ice.c +0 -0
similarity index 100%
rename from drivers/soc/qcom/ice.c
rename to drivers/soc/qcom/qcom_ice.c
#2 lore raw
In reply to Abel Vesa
Quoted 15 lines · Abel Vesa

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.

Fixes 2afbf43a4aec ("soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver")

---

Quoted 8 lines

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

maintainer Applied
#3 lore raw
In reply to Abel Vesa
Quoted 11 lines · Abel Vesa

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,

Signature · 1 line
Bjorn Andersson <[email protected]>