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-next>] [day] [month] [year] [list]
Message-Id: <20241107213813.19185-1-m.omerfarukbulut@gmail.com>
Date: Fri,  8 Nov 2024 00:38:12 +0300
From: Omer Faruk BULUT <m.omerfarukbulut@...il.com>
To: dpenkler@...il.com,
	gregkh@...uxfoundation.org
Cc: arnd@...db.de,
	linux-staging@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Omer Faruk BULUT <m.omerfarukbulut@...il.com>
Subject: [PATCH v2] Staging: gpib: gpib_os.c - Remove unnecessary OOM message

It duplicate the MM subsystem generic OOM message. This patch fixes
the following checkpatch warning.

     WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: Omer Faruk BULUT <m.omerfarukbulut@...il.com>
---
v2:
	Changelog text  wrapped at 72 character
        Unrelated changelog text removed
        Trailing spaces removed
---
 drivers/staging/gpib/common/gpib_os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/gpib/common/gpib_os.c b/drivers/staging/gpib/common/gpib_os.c
index 27654b2180a5..7d5244113f1b 100644
--- a/drivers/staging/gpib/common/gpib_os.c
+++ b/drivers/staging/gpib/common/gpib_os.c
@@ -2093,7 +2093,7 @@ void gpib_register_driver(gpib_interface_t *interface, struct module *provider_m
 	struct gpib_interface_list_struct *entry;
 
 	entry = kmalloc(sizeof(*entry), GFP_KERNEL);
-	if (!entry) 
+	if (!entry)
 		return;
 	
 	entry->interface = interface;
-- 
2.17.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ