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:	Fri, 8 Apr 2011 00:52:52 +0200
From:	Hanno Böck <hanno@...eck.de>
To:	dougthompson@...ssion.com, bluesmoke-devel@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: [PATCH] kernel/edac: constify function

Attached patch will const-ify a function in the edac code.

Patch is an extract from grsecurity. Please apply.

Signed-off-by: Hanno Boeck <hanno@...eck.de>
---
--- linux-2.6.38/drivers/edac/edac_mc_sysfs.c	2011-03-15 02:20:32.000000000 +0100
+++ linux-2.6.38-1/drivers/edac/edac_mc_sysfs.c	2011-04-08 00:48:58.368416726 +0200
@@ -761,7 +761,7 @@
 }
 
 /* Intermediate show/store table */
-static struct sysfs_ops inst_grp_ops = {
+static const struct sysfs_ops inst_grp_ops = {
 	.show = inst_grp_show,
 	.store = inst_grp_store
 };

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ