From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753146AbdBIPHs (ORCPT ); Thu, 9 Feb 2017 10:07:48 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:35041 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbdBIPH3 (ORCPT ); Thu, 9 Feb 2017 10:07:29 -0500 Reply-To: minyard@acm.org Subject: Re: [PATCH 2/2] acpi:ipmi: Make IPMI user handler const References: <1484055613-31286-1-git-send-email-minyard@acm.org> <1484055613-31286-3-git-send-email-minyard@acm.org> <6437353.muxityAQuf@aspire.rjw.lan> To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, openipmi-developer@lists.sourceforge.net, Corey Minyard , linux-acpi@vger.kernel.org, Zhao Yakui , Lv Zheng From: Corey Minyard Message-ID: Date: Thu, 9 Feb 2017 09:07:21 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <6437353.muxityAQuf@aspire.rjw.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/2017 08:02 AM, Rafael J. Wysocki wrote: > On Tuesday, January 10, 2017 07:40:13 AM minyard@acm.org wrote: >> From: Corey Minyard >> >> 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 >> Cc: Lv Zheng >> Signed-off-by: Corey Minyard > Please let me know if you want me to apply this. > > Otherwise, feel free to add my ACK to it and route it whatever way you think > is appropriate. Thanks, I'll add your ACK and apply it through the IPMI tree. -corey >> --- >> 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; >> >> /* >> > Thanks, > Rafael >