Skip to contentSkip to conversation

patch "iio: adis16480: select CONFIG_CRC32" added to char-misc-linus

PATCH [email protected] 1 participant 1 message Mar 28, 2023

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

    iio: adis16480: select CONFIG_CRC32

to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

From d9b540ee461cca7edca0dd2c2a42625c6b9ffb8f Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <[email protected]>
Date: Tue, 31 Jan 2023 10:46:11 +0100
Subject: iio: adis16480: select CONFIG_CRC32
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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.40.0