Re: (subset) [PATCH] fixup! of: populate new device_d::dma_coherent attribute

2024-01-11 Thread Sascha Hauer
On Thu, 11 Jan 2024 17:19:51 +0100, Ahmad Fatoum wrote: > dev may be NULL, e.g. when > > dma_sync_single_for_cpu(NULL, > > is called. Such instances are broken anyway, but we still have them, > e.g. in Raspberry Pi code for mailbox, so add a NULL check. > > [...] Applied, thanks! [1/1]

[PATCH] fixup! of: populate new device_d::dma_coherent attribute

2024-01-11 Thread Ahmad Fatoum
dev may be NULL, e.g. when dma_sync_single_for_cpu(NULL, is called. Such instances are broken anyway, but we still have them, e.g. in Raspberry Pi code for mailbox, so add a NULL check. Fixes qemu-rpi0@multi_v7 CI breakage on next. Signed-off-by: Ahmad Fatoum --- include/driver.h | 16