mainline build failure due to f1e4c916f97f ("drm/edid: add EDID block count and size helpers")

Christoph Hellwig hch at infradead.org
Thu Jun 2 05:19:12 PDT 2022


On Thu, Jun 02, 2022 at 09:38:56AM +0200, Arnd Bergmann wrote:
> - dma_addr_t/phys_addr_t are sometimes put into hardware data
>   structures in coherent DMA allocations.

Putting a dma_addr_t into a hardware data structure is broken.
dma_addr_t is the in-memory type, for the hardare it should always
be a __le/__be type of the actual width that the particular piece
of hardware uses.



More information about the linux-arm-kernel mailing list