Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1555598 > unrolled thread

[PATCH 2/2] acpi:ipmi: Make IPMI user handler const

Started byminyard@acm.org
First post2017-01-10 16:20 +0100
Last post2017-01-10 16:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] acpi:ipmi: Make IPMI user handler const minyard@acm.org - 2017-01-10 16:20 +0100

#1555598 — [PATCH 2/2] acpi:ipmi: Make IPMI user handler const

Fromminyard@acm.org
Date2017-01-10 16:20 +0100
Subject[PATCH 2/2] acpi:ipmi: Make IPMI user handler const
Message-ID<sY6no-2ZC-47@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web