Re: [PATCH] spi: remove struct spi_message::is_dma_mapped

From: Mark Brown
Date: Mon Mar 25 2024 - 15:08:20 EST


On Fri, Mar 15, 2024 at 05:29:43PM -0500, David Lechner wrote:
> There are no more users of the deprecated is_dma_mapped in struct
> spi_message so it can be removed.

This breaks an allmodconfig build:

/build/stage/linux/drivers/spi/spi-pxa2xx.c: In function ‘pxa2xx_spi_transfer_on
e’:
/build/stage/linux/drivers/spi/spi-pxa2xx.c:947:29: error: unused variable ‘mess
age’ [-Werror=unused-variable]
947 | struct spi_message *message = controller->cur_msg;
| ^~~~~~~
cc1: all warnings being treated as errors

Attachment: signature.asc
Description: PGP signature