mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Bhumika Goyal <bhumirks@gmail.com>,
	julia.lawall@lip6.fr, openipmi-developer@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IPMI: make ipmi_poweroff_handler const
Date: Mon, 28 Aug 2017 13:40:00 -0500	[thread overview]
Message-ID: <ada838fb-95fe-e122-8510-a158eb82dc44@acm.org> (raw)
In-Reply-To: <1503943695-18681-1-git-send-email-bhumirks@gmail.com>

On 08/28/2017 01:08 PM, Bhumika Goyal wrote:
> Make this const as it is only passed to a const argument of the function
> ipmi_create_user.

Queued for the next kernel release.

-corey

> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
> ---
>   drivers/char/ipmi/ipmi_poweroff.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c
> index 9f2e3be..cd0f41f 100644
> --- a/drivers/char/ipmi/ipmi_poweroff.c
> +++ b/drivers/char/ipmi/ipmi_poweroff.c
> @@ -133,7 +133,7 @@ static void receive_handler(struct ipmi_recv_msg *recv_msg, void *handler_data)
>   		complete(comp);
>   }
>   
> -static struct ipmi_user_hndl ipmi_poweroff_handler = {
> +static const struct ipmi_user_hndl ipmi_poweroff_handler = {
>   	.ipmi_recv_hndl = receive_handler
>   };
>   

      reply	other threads:[~2017-08-28 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 18:08 Bhumika Goyal
2017-08-28 18:40 ` 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=ada838fb-95fe-e122-8510-a158eb82dc44@acm.org \
    --to=minyard@acm.org \
    --cc=bhumirks@gmail.com \
    --cc=julia.lawall@lip6.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    /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

Powered by JetHome