diff options
| author | Maksym Shcherba <maksym.shcherba@lnu.edu.ua> | 2026-05-21 23:20:19 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-06-05 00:45:02 +0300 |
| commit | d63e9d829e42b29201ebbcf0a070acea8ed40b2c (patch) | |
| tree | 7307d7f822b5175c8c0379468ea78ea7a1b3042d /include/linux/stacktrace.h | |
| parent | 1f9f7e72da1b3262616b7e191db8bae8225f2435 (diff) | |
| download | linux-d63e9d829e42b29201ebbcf0a070acea8ed40b2c.tar.xz | |
mm/damon: fix missing parens in macro arguments
Patch series "mm/damon: fix macro arguments and clarify quota goals doc",
v2.
This patch (of 2):
The DAMON iterator macros do not wrap their pointer arguments with
parentheses. This can cause build failures when the argument is a complex
expression due to operator precedence issues.
Add missing parentheses around the arguments in the following macros
to prevent potential build failures:
- damon_for_each_region()
- damon_for_each_region_from()
- damon_for_each_region_safe()
- damos_for_each_quota_goal()
Link: https://lore.kernel.org/20260521202020.126500-1-maksym.shcherba@lnu.edu.ua
Link: https://lore.kernel.org/20260521202020.126500-2-maksym.shcherba@lnu.edu.ua
Signed-off-by: Maksym Shcherba <maksym.shcherba@lnu.edu.ua>
Reviewed-by: SeongJae Park <sj@kernel.org>
Assisted-by: Antigravity:Gemini-3.1-Pro
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
