mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: minyard@acm.org
To: linux-kernel@vger.kernel.org, openipmi-developer@lists.sourceforge.net
Cc: Corey Minyard <cminyard@mvista.com>,
	linux-acpi@vger.kernel.org, Zhao Yakui <yakui.zhao@intel.com>,
	Lv Zheng <lv.zheng@intel.com>
Subject: [PATCH 2/2] acpi:ipmi: Make IPMI user handler const
Date: Tue, 10 Jan 2017 07:40:13 -0600	[thread overview]
Message-ID: <1484055613-31286-3-git-send-email-minyard@acm.org> (raw)
In-Reply-To: <1484055613-31286-1-git-send-email-minyard@acm.org>

From: Corey Minyard <cminyard@mvista.com>

ipmi_create_user() now takes the user handlers as const, make
it const in the ACPI IPMI code.

Cc: linux-acpi@vger.kernel.org
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
---
 drivers/acpi/acpi_ipmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c
index f77956c..747c2ba 100644
--- a/drivers/acpi/acpi_ipmi.c
+++ b/drivers/acpi/acpi_ipmi.c
@@ -56,7 +56,7 @@ struct acpi_ipmi_device {
 struct ipmi_driver_data {
 	struct list_head ipmi_devices;
 	struct ipmi_smi_watcher bmc_events;
-	struct ipmi_user_hndl ipmi_hndlrs;
+	const struct ipmi_user_hndl ipmi_hndlrs;
 	struct mutex ipmi_lock;
 
 	/*
-- 
2.7.4

  parent reply	other threads:[~2017-01-10 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10 13:40 [PATCH 0/2] ipmi: Make ipmi_usr_hndl const minyard
2017-01-10 13:40 ` [PATCH 1/2] ipmi: make " minyard
2017-01-10 13:40 ` minyard [this message]
2017-02-09 14:02   ` [PATCH 2/2] acpi:ipmi: Make IPMI user handler const Rafael J. Wysocki
2017-02-09 15:07     ` Corey Minyard

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=1484055613-31286-3-git-send-email-minyard@acm.org \
    --to=minyard@acm.org \
    --cc=cminyard@mvista.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=yakui.zhao@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®