diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-20 19:43:57 +0900 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-07-21 17:59:46 +0900 |
| commit | 6e9328ed75afc2f2564514df53ff66259f805a2a (patch) | |
| tree | 8fb6b56e7667a1378838eecfdda230471d1a70b0 /scripts/Makefile.thinlto | |
| parent | 794b5640aa7b295623c1d6b6fc2fe229a30aad0d (diff) | |
| download | linux-stable-6e9328ed75afc2f2564514df53ff66259f805a2a.tar.gz linux-stable-6e9328ed75afc2f2564514df53ff66259f805a2a.zip | |
tracing/probes: Remove redundant bounds check in trace_probe_compare_arg_type()
In trace_probe_compare_arg_type(), prior to entering the comparison loop,
a->nr_args and b->nr_args are checked for equality. Since the loop
condition is i < a->nr_args, i is guaranteed to be less than b->nr_args
inside the loop.
Remove the redundant (b->nr_args <= i) check.
Link: https://lore.kernel.org/all/178454423769.296567.6694636865644203423.stgit@devnote2/
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
