[PATCH] spi: remove struct spi_message::is_dma_mapped

Mark Brown broonie at kernel.org
Mon Mar 25 08:01:25 PDT 2024


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240325/c33bc96c/attachment.sig>


More information about the linux-arm-kernel mailing list