diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2026-05-13 07:50:35 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-13 19:27:31 +0300 |
| commit | f44e815e65a30f465fe4dd793df8cb98f1f9c0b1 (patch) | |
| tree | 77887edfc37c0048ba1349b5a20482ed8c5eafc8 /include/linux/debugobjects.h | |
| parent | 84dd7df76efef9fecb6f3e0defe2ea3ad89cd3cb (diff) | |
| download | linux-f44e815e65a30f465fe4dd793df8cb98f1f9c0b1.tar.xz | |
bpf: Use arg_is_fp() in has_fp_args()
Replace "frame != ARG_NONE" with arg_is_fp() in has_fp_args().
The function's purpose is to check whether any argument is derived
from a frame pointer, which is exactly what arg_is_fp() tests
(frame >= 0 || frame == ARG_IMPRECISE). Using the dedicated
predicate is clearer and more consistent with the rest of the file.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260513045035.2388671-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
