summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVladimir Kondratiev <vladimir.kondratiev@mobileye.com>2026-11-11 12:41:21 +0200
committerPaul Walmsley <pjw@kernel.org>2026-11-21 12:27:09 -0700
commit27fc871b963183d9371cc838c1a543033d91357f (patch)
tree5cf145eea51e21b8cff10e8e38564612ff48e3fb /tools/perf/scripts/python/bin
parenta6c2f5e46b9a1179981036070e03f799621e349f (diff)
riscv: unaligned: fix __setup handlers
Returning -EINVAL from a __setup() callback cause invalid unaligned_scalar_speed= and unaligned_vector_speed= values to be treated as handled. obsolete_checksetup() treats any non-zero return value from setup_func() as success, so an unrecognized argument is silently accepted instead of being reported as an unknown boot option. __setup() handlers return 0 on failure. Fixes: aecb09e091dc ("riscv: Add parameter for skipping access speed tests") Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Link: https://patch.msgid.link/20261111-fix-riscv-unaligned-v1-1-0722514fc1e4@mobileye.com Cc: stable@vger.kernel.org Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions