lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 19 Dec 2022 08:59:46 +0100 (CET)
From:   Geert Uytterhoeven <geert@...ux-m68k.org>
To:     linux-kernel@...r.kernel.org
cc:     mm-commits@...r.kernel.org, davidgow@...gle.com,
        brendanhiggins@...gle.com, arnd@...db.de, geert+renesas@...der.be,
        akpm@...ux-foundation.org
Subject: Re: + lib-add-dhrystone-benchmark-test.patch added to mm-nonmm-unstable
 branch

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ