diff options
author | 2025-04-15 09:56:59 +0200 | |
---|---|---|
committer | 2025-04-17 07:44:35 +0200 | |
commit | c9b19ea63036fc537a69265acea1b18dabd1cbd3 (patch) | |
tree | b45b58d2acb7502a410520aa5e2eb7b5e1889442 /scripts/lib/kdoc/kdoc_parser.py | |
parent | dma/mapping.c: dev_dbg support for dma_addressing_limited (diff) | |
download | wireguard-linux-c9b19ea63036fc537a69265acea1b18dabd1cbd3.tar.xz wireguard-linux-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 <andriy.shevchenko@linux.intel.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250415075659.428549-1-m.szyprowski@samsung.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions