Skip to contentSkip to conversation

iio: adis16480: select CONFIG_CRC32

PATCH Applied Arnd Bergmann 3 participants 3 messages Jan 31, 2023 – Feb 2, 2023 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adis16480: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

In rare randconfig builds, the missing CRC32 helper causes a link error:

ld.lld: error: undefined symbol: crc32_le

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by usercopy_64.c

              vmlinux.o:(adis16480_trigger_handler)
Fixes 941f130881fa ("iio: adis16480: support burst read function")
---
 drivers/iio/imu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/imu/Kconfig +1 -0
index f1d7d4b5e222..c2f97629e9cd 100644
@@ -47,6 +47,7 @@ config ADIS16480
 	depends on SPI
 	select IIO_ADIS_LIB
 	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
+	select CRC32
 	help
 	  Say yes here to build support for Analog Devices ADIS16375, ADIS16480,
 	  ADIS16485, ADIS16488 inertial sensors.
Signature · 1 line
2.39.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

In rare randconfig builds, the missing CRC32 helper causes a link error:

Quoted 7 lines

ld.lld: error: undefined symbol: crc32_le

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by usercopy_64.c vmlinux.o:(adis16480_trigger_handler)

Fixes 941f130881fa ("iio: adis16480: support burst read function")

---

maintainer Applied
#2 lore raw
Quoted 7 lines · On Tue, 31 Jan 2023 11:23:10 +0100 Nuno Sá <[email protected]> wrote:
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

In rare randconfig builds, the missing CRC32 helper causes a link error:

ld.lld: error: undefined symbol: crc32_le

Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by usercopy_64.c vmlinux.o:(adis16480_trigger_handler)

Fixes 941f130881fa ("iio: adis16480: support burst read function")

---

Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan