Re: [PATCH 2/2] iio: adc: ti-adc161s626: use DMA-safe memory for spi_read()
From: Andy Shevchenko
Date: Fri Mar 27 2026 - 05:44:45 EST
On Fri, Mar 27, 2026 at 05:13:16PM +0800, kernel test robot wrote:
> Hi David,
>
> kernel test robot noticed the following build errors:
> All errors (new ones prefixed by >>):
>
> drivers/iio/adc/ti-adc161s626.c: In function 'ti_adc_read_measurement':
> >> drivers/iio/adc/ti-adc161s626.c:87:24: error: implicit declaration of function 'get_unaligned_be16' [-Wimplicit-function-declaration]
> 87 | *val = get_unaligned_be16(data->buf);
> | ^~~~~~~~~~~~~~~~~~
> >> drivers/iio/adc/ti-adc161s626.c:94:24: error: implicit declaration of function 'get_unaligned_be24' [-Wimplicit-function-declaration]
> 94 | *val = get_unaligned_be24(data->buf);
> | ^~~~~~~~~~~~~~~~~~
+ linux/unaligned.h should fix this.
--
With Best Regards,
Andy Shevchenko