From: Stephen Hemminger <shemminger@vyatta.com>
To: Doug Thompson <dougthompson@xmission.com>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
bluesmoke-devel@lists.sourceforge.net
Subject: [PATCH] edac: make inst_grp_ops const
Date: Tue, 31 Aug 2010 15:24:02 -0700 [thread overview]
Message-ID: <20100831152402.22b5e897@nehalam> (raw)
This sysfs_ops should be const like all the others in the kernel.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/edac/edac_mc_sysfs.c 2010-08-31 15:10:29.692381171 -0700
+++ b/drivers/edac/edac_mc_sysfs.c 2010-08-31 15:11:24.072859199 -0700
@@ -764,7 +764,7 @@ static void edac_inst_grp_release(struct
}
/* 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
};
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
next reply other threads:[~2010-08-31 22:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 22:24 Stephen Hemminger [this message]
2010-08-31 22:59 ` [PATCH] edac: make inst_grp_ops const Doug Thompson
2010-08-31 23:00 ` Doug Thompson
2010-09-01 10:42 ` Mauro Carvalho Chehab
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=20100831152402.22b5e897@nehalam \
--to=shemminger@vyatta.com \
--cc=bluesmoke-devel@lists.sourceforge.net \
--cc=dougthompson@xmission.com \
--cc=mchehab@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.