Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757074Ab1DGWwz (ORCPT ); Thu, 7 Apr 2011 18:52:55 -0400 Received: from zucker.schokokeks.org ([178.63.68.96]:35452 "EHLO zucker.schokokeks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756442Ab1DGWwy (ORCPT ); Thu, 7 Apr 2011 18:52:54 -0400 Date: Fri, 8 Apr 2011 00:52:52 +0200 From: Hanno =?ISO-8859-1?B?QvZjaw==?= To: dougthompson@xmission.com, bluesmoke-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH] kernel/edac: constify function Message-ID: <20110408005252.29fae148@laverne> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-4738-1302216773-0001-2" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2153 Lines: 56 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_zucker.schokokeks.org-4738-1302216773-0001-2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Attached patch will const-ify a function in the edac code. Patch is an extract from grsecurity. Please apply. Signed-off-by: Hanno Boeck --- --- 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.3684167= 26 +0200 @@ -761,7 +761,7 @@ } =20 /* Intermediate show/store table */ -static struct sysfs_ops inst_grp_ops =3D { +static const struct sysfs_ops inst_grp_ops =3D { .show =3D inst_grp_show, .store =3D inst_grp_store }; --=_zucker.schokokeks.org-4738-1302216773-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAEBCAAGBQJNnkBEAAoJEKWIAHK7tR5CI7EP/0i/lHNH4bH6xawS24WVpOtc vSHYm9Jk+VnB6oRUlBpzNkRTwoKvHXWg95ERiJyFUAI2EGkhJElO5PI4XKpz68+0 Yr/tc6gjg9lToKQaXCgxdsho8vUSQfhdDv2RPbRiwqZIjO/fkWAyzUnux3Nc7PrX ua/bjET6P8qdOD6UDxeZrIqnXhSxjjjIAYe7UCsNdo4ncWaUp+5K8mu6UMi3VwF6 I35LN2oDJozyG4YBcBdKXgDQyo/SO4q0+bwHnnkhAqOI8qZjSeoKvAyAzDIUMaYU /wiS0olcOzoiR3o7IIXRDWdELWwYQoIbSlCWBE6D/BoxmIBZqImGRH1fwKT3449/ /b6XhyABstB+U8V2ZaGbCp21Jk1BJGzrbLgBRNnkxMcpFcNNEeoqy5pPJx0hOTjv 7d6waKz4Pn7iQHCZKMJrAdNXJlwH6aS5K2ztXZZVw9ciHpYavyG0ppyupusHQy8b Wvk3aLP0Cky2rr5OyKIvVdIftLieZW+JE2dUWfs+61rIZgBl9+ELdZSVkENqCwpj tsiL4tVf1dEWujcddiwZZPKv/tI85aVxJMC8yiHQFvg0rWWDah5RDwJLfB79dXVT IKKvkrHh04DhDWfrTQxNbsYZF9lSnL5LG297oYyscsKZuFiIoul+SOESMbQN2PK5 Ax0s7XFgDUTn9VnA+Ych =diFV -----END PGP SIGNATURE----- --=_zucker.schokokeks.org-4738-1302216773-0001-2-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/