diff options
author | 2025-04-09 17:15:42 +0200 | |
---|---|---|
committer | 2025-04-09 17:28:53 +0200 | |
commit | d7b98ae5221007d3f202746903d4c21c7caf7ea9 (patch) | |
tree | 8a898cb21a1054f557de66334b139f38ad2aa870 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.15-rc1 (diff) | |
download | wireguard-linux-d7b98ae5221007d3f202746903d4c21c7caf7ea9.tar.xz wireguard-linux-d7b98ae5221007d3f202746903d4c21c7caf7ea9.zip |
dma/contiguous: avoid warning about unused size_bytes
When building with W=1, this variable is unused for configs with
CONFIG_CMA_SIZE_SEL_PERCENTAGE=y:
kernel/dma/contiguous.c:67:26: error: 'size_bytes' defined but not used [-Werror=unused-const-variable=]
Change this to a macro to avoid the warning.
Fixes: c64be2bb1c6e ("drivers: add Contiguous Memory Allocator")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20250409151557.3890443-1-arnd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions