Messages in this thread | | | Date | Thu, 2 Jun 2022 05:19:12 -0700 | From | Christoph Hellwig <> | Subject | Re: mainline build failure due to f1e4c916f97f ("drm/edid: add EDID block count and size helpers") |
| |
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.
| |