From 08185c5be135eb83194a49e593be9258cec78d77 Mon Sep 17 00:00:00 2001 From: Zoe Gates Date: Mon, 27 Oct 2025 22:14:24 -0500 Subject: [PATCH 1/3] perf trace: Fix filter expansion length typo Keep the filter expansion helper readable by using expansion_length everywhere and wrapping the scnprintf call. Signed-off-by: Zoe Gates --- tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/builtin-trace.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt index 28bec7e78bc858..e136ca35d38080 100644 --- a/tools/perf/Documentation/perf-script.txt +++ b/tools/perf/Documentation/perf-script.txt @@ -262,7 +262,7 @@ OPTIONS is printed. This is the full execution path leading to the sample. This is only supported when the sample was recorded with perf record -b or -j any. - Use brstackinsnlen to print the brstackinsn lenght. For example, you + Use brstackinsnlen to print the brstackinsn length. For example, you can’t know the next sequential instruction after an unconditional branch unless you calculate that based on its length. diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index c607f39b8c8bb0..ae5fabf91c966f 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -4291,7 +4291,10 @@ static int trace__expand_filter(struct trace *trace, struct evsel *evsel) if (fmt->strtoul(right, right_size, &syscall_arg, &val)) { char *n, expansion[19]; - int expansion_lenght = scnprintf(expansion, sizeof(expansion), "%#" PRIx64, val); + int expansion_length; + + expansion_length = scnprintf(expansion, sizeof(expansion), + "%#" PRIx64, val); int expansion_offset = right - new_filter; pr_debug("%s", expansion); @@ -4303,7 +4306,7 @@ static int trace__expand_filter(struct trace *trace, struct evsel *evsel) } if (new_filter != evsel->filter) free(new_filter); - left = n + expansion_offset + expansion_lenght; + left = n + expansion_offset + expansion_length; new_filter = n; } else { pr_err("\"%.*s\" not found for \"%s\" in \"%s\", can't set filter \"%s\"\n", From ebec904b22077c3ebd0a18956397a9b0540a2714 Mon Sep 17 00:00:00 2001 From: Zoe Gates Date: Mon, 27 Oct 2025 22:14:50 -0500 Subject: [PATCH 2/3] watchdog/diag288: Fix module comment typos Correct spelling and capitalizaion in the header comment so the documentation reads cleanly. Signed-off-by: Zoe Gates --- drivers/watchdog/diag288_wdt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/diag288_wdt.c b/drivers/watchdog/diag288_wdt.c index 887d5a6c155b95..656b937f76534f 100644 --- a/drivers/watchdog/diag288_wdt.c +++ b/drivers/watchdog/diag288_wdt.c @@ -6,10 +6,10 @@ * to CP. * * The command can be altered using the module parameter "cmd". This is - * not recommended because it's only supported on z/VM but not whith LPAR. + * not recommended because it's only supported on z/VM but not with LPAR. * - * On LPAR, the watchdog will always trigger a system restart. the module - * paramter cmd is meaningless here. + * On LPAR, the watchdog will always trigger a system restart. The module + * parameter cmd is meaningless here. * * * Copyright IBM Corp. 2004, 2013 From 931f0f259c881c892e78df75a7bcd1263a838d5b Mon Sep 17 00:00:00 2001 From: Zoe Gates Date: Mon, 27 Oct 2025 22:15:11 -0500 Subject: [PATCH 3/3] drm/plane: Correct typo in update_plane docs Fix the kernel-doc spelling so the update_plane parameter description uses the proper wording. Signed-off-by: Zoe Gates --- include/drm/drm_plane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h index 01479dd94e76a8..90006a811d5733 100644 --- a/include/drm/drm_plane.h +++ b/include/drm/drm_plane.h @@ -295,7 +295,7 @@ struct drm_plane_funcs { * * This is the legacy entry point to enable and configure the plane for * the given CRTC and framebuffer. It is never called to disable the - * plane, i.e. the passed-in crtc and fb paramters are never NULL. + * plane, i.e. the passed-in crtc and fb parameters are never NULL. * * The source rectangle in frame buffer memory coordinates is given by * the src_x, src_y, src_w and src_h parameters (as 16.16 fixed point