diff options
| author | Marek Szyprowski <[email protected]> | 2025-04-15 07:56:59 +0000 |
|---|---|---|
| committer | Marek Szyprowski <[email protected]> | 2025-04-17 05:44:35 +0000 |
| commit | c9b19ea63036fc537a69265acea1b18dabd1cbd3 (patch) | |
| tree | b45b58d2acb7502a410520aa5e2eb7b5e1889442 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | dma/mapping.c: dev_dbg support for dma_addressing_limited (diff) | |
| download | kernel-c9b19ea63036fc537a69265acea1b18dabd1cbd3.tar.gz kernel-c9b19ea63036fc537a69265acea1b18dabd1cbd3.zip | |
dma-mapping: avoid potential unused data compilation warning
When CONFIG_NEED_DMA_MAP_STATE is not defined, dma-mapping clients might
report unused data compilation warnings for dma_unmap_*() calls
arguments. Redefine macros for those calls to let compiler to notice that
it is okay when the provided arguments are not used.
Reported-by: Andy Shevchenko <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Tested-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
