* Re: + lib-add-dhrystone-benchmark-test.patch added to mm-nonmm-unstable branch
[not found] <20221216224923.58770C433D2@smtp.kernel.org>
@ 2022-12-19 7:59 ` Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2022-12-19 7:59 UTC (permalink / raw)
To: linux-kernel
Cc: mm-commits, davidgow, brendanhiggins, arnd, geert+renesas, akpm
Hi Andrew,
On Fri, 16 Dec 2022, Andrew Morton wrote:
> The patch titled
> Subject: lib: add Dhrystone benchmark test
> has been added to the -mm mm-nonmm-unstable branch. Its filename is
> lib-add-dhrystone-benchmark-test.patch
>
> This patch will shortly appear at
> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/lib-add-dhrystone-benchmark-test.patch
>
> This patch will later appear in the mm-nonmm-unstable branch at
> git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
>
> The -mm tree is included into linux-next via the mm-everything
> branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> and is updated there every 2-3 working days
>
> ------------------------------------------------------
Can you please squash the following small fix?
(Obviously I'm still not used to using a newer gcc than the good
old 4.1, which would have warned about this for sure ;-)
Thanks!
From f03a6abd766c685741dccc59157f4d1addee7ed4 Mon Sep 17 00:00:00 2001
Message-Id: <f03a6abd766c685741dccc59157f4d1addee7ed4.1671436679.git.geert+renesas@glider.be>
From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Sun, 18 Dec 2022 10:51:59 +0100
Subject: [PATCH] squash! lib: Add Dhrystone benchmark test
v2:
- Fix uninitialized use of ret, as reported by kernel test robot
<lkp@intel.com>.
---
lib/dhry_run.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dhry_run.c b/lib/dhry_run.c
index 31a1d442e4a0fc19..f9d33efa6d090604 100644
--- a/lib/dhry_run.c
+++ b/lib/dhry_run.c
@@ -69,7 +69,7 @@ static int dhry_run_set(const char *val, const struct kernel_param *kp)
if (dhry_run && system_state == SYSTEM_RUNNING)
dhry_benchmark();
- return ret;
+ return 0;
}
static int __init dhry_init(void)
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-19 7:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20221216224923.58770C433D2@smtp.kernel.org>
2022-12-19 7:59 ` + lib-add-dhrystone-benchmark-test.patch added to mm-nonmm-unstable branch Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®