public inbox for linux-edac@vger.kernel.org
 help / color / mirror / Atom feed
From: "Hanno Böck" <hanno@hboeck.de>
To: dougthompson@xmission.com, bluesmoke-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: [PATCH] kernel/edac: constify function
Date: Fri, 8 Apr 2011 00:52:52 +0200	[thread overview]
Message-ID: <20110408005252.29fae148@laverne> (raw)

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

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@hboeck.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
 };

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

                 reply	other threads:[~2011-04-07 22:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110408005252.29fae148@laverne \
    --to=hanno@hboeck.de \
    --cc=bluesmoke-devel@lists.sourceforge.net \
    --cc=dougthompson@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox