mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: minyard@acm.org
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, 09 Feb 2017 15:02:26 +0100	[thread overview]
Message-ID: <6437353.muxityAQuf@aspire.rjw.lan> (raw)
In-Reply-To: <1484055613-31286-3-git-send-email-minyard@acm.org>

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.

> ---
>  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

  reply	other threads:[~2017-02-09 14:14 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 [this message]
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=6437353.muxityAQuf@aspire.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=cminyard@mvista.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=minyard@acm.org \
    --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®