diff options
| author | Douglas Anderson <dianders@chromium.org> | 2026-04-07 02:22:56 +0300 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-04-27 00:38:35 +0300 |
| commit | 7fa1e85cfe6844cd7b09cb8288e5fb68952c88f7 (patch) | |
| tree | 7234c62c9b6585985236048f09bf75da8fb3a276 /include/linux/debugobjects.h | |
| parent | f2648bb3150a71241a2254aa4ac10680d7f9fb16 (diff) | |
| download | linux-7fa1e85cfe6844cd7b09cb8288e5fb68952c88f7.tar.xz | |
driver core: Replace dev->dma_iommu with dev_dma_iommu()
In C, bitfields are not necessarily safe to modify from multiple
threads without locking. Switch "dma_iommu" over to the "flags" field
so modifications are safe.
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260406162231.v5.3.Id20d5973cbff542fea290e13177e9423f5d81342@changeid
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
