Re: + lib-add-dhrystone-benchmark-test.patch added to mm-nonmm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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@xxxxxxxxx>
From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
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@xxxxxxxxx>.
---
 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



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux