From: Corey Minyard <minyard@acm.org>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-kernel@vger.kernel.org,
openipmi-developer@lists.sourceforge.net,
Corey Minyard <cminyard@mvista.com>,
linux-acpi@vger.kernel.org, Zhao Yakui <yakui.zhao@intel.com>,
Lv Zheng <lv.zheng@intel.com>
Subject: Re: [PATCH 2/2] acpi:ipmi: Make IPMI user handler const
Date: Thu, 9 Feb 2017 09:07:21 -0600 [thread overview]
Message-ID: <bfb820d6-11a5-d1ea-13be-bd46714c3c15@acm.org> (raw)
In-Reply-To: <6437353.muxityAQuf@aspire.rjw.lan>
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 <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>
> 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
>
prev parent reply other threads:[~2017-02-09 15:07 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 ` [PATCH 2/2] acpi:ipmi: Make IPMI user handler const minyard
2017-02-09 14:02 ` Rafael J. Wysocki
2017-02-09 15:07 ` Corey Minyard [this message]
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=bfb820d6-11a5-d1ea-13be-bd46714c3c15@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=rjw@rjwysocki.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®