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]
Date:	Tue, 20 Feb 2007 01:07:44 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...ux-foundation.org>, TJ <linux@...orld.net>
Cc:	linux-kernel@...r.kernel.org
Subject: [-mm patch] make fs/partitions/msdos.c:check_sane_values() static

On Thu, Feb 15, 2007 at 05:14:08AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc6-mm3:
>...
> +filesystem-disk-errors-at-boot-time-caused-by-probe.patch
>...
>  Misc
>...


check_sane_values() can become static.

---
--- linux-2.6.20-mm2/fs/partitions/msdos.c.old	2007-02-18 22:44:25.000000000 +0100
+++ linux-2.6.20-mm2/fs/partitions/msdos.c	2007-02-18 22:44:32.000000000 +0100
@@ -431,7 +431,7 @@
  *
  * Copyright 31 January 2007, TJ <linux@...orld.net>
  */
-int check_sane_values(struct partition *p, struct block_device *bdev)
+static int check_sane_values(struct partition *p, struct block_device *bdev)
 {
 	unsigned char *data;
 	struct partition *ext;

-
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