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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f13fafa9-fc7c-4c95-94b2-079a737249be@web.de>
Date: Sun, 31 Dec 2023 09:41:17 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Peter Oberparleiter <oberpar@...ux.ibm.com>,
 kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/3] gcov: Delete an error message for a failed memory
 allocation in new_node()

From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sun, 31 Dec 2023 09:09:25 +0100

Omit an extra message for a memory allocation failure in this function.

Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
 kernel/gcov/fs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/gcov/fs.c b/kernel/gcov/fs.c
index 01520689b57c..0fbfa444a388 100644
--- a/kernel/gcov/fs.c
+++ b/kernel/gcov/fs.c
@@ -566,7 +566,6 @@ static struct gcov_node *new_node(struct gcov_node *parent,

 err_nomem:
 	kfree(node);
-	pr_warn("out of memory\n");
 	return NULL;
 }

--
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ