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:	Thu, 08 Sep 2011 01:35:26 +0300
From:	kordex@...il.com
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/1] mm/cleancache.c __init init_cleancache(void) incorrect
 return value.

Most likely solution bellow should be applied.

Br,
Mikko Kortelainen
Fail-Safe IT Solutions Oy

lain:/usr/src# diff -Naur a/mm/cleancache.c b/mm/cleancache.c
--- a/mm/cleancache.c   2011-08-29 23:56:30.000000000 +0300
+++ b/mm/cleancache.c   2011-09-08 01:24:15.000000000 +0300
@@ -234,11 +234,10 @@

  static int __init init_cleancache(void)
  {
+       int err = 0;
  #ifdef CONFIG_SYSFS
-       int err;
-
         err = sysfs_create_group(mm_kobj, &cleancache_attr_group);
  #endif /* CONFIG_SYSFS */
-       return 0;
+       return err;
  }
  module_init(init_cleancache)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ