All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Shailendra Verma <shailendra.capricorn@gmail.com>,
	openipmi-developer@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] char:ipmi - Change 1 to true for bool type variables during initialization.
Date: Tue, 26 May 2015 09:28:25 -0500	[thread overview]
Message-ID: <55648309.9020400@acm.org> (raw)
In-Reply-To: <1432581897-4850-1-git-send-email-shailendra.capricorn@gmail.com>

Thanks, queued for the next kernel release.

-corey

On 05/25/2015 02:24 PM, Shailendra Verma wrote:
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
> ---
>  drivers/char/ipmi/ipmi_si_intf.c |    8 ++++----
>  drivers/char/ipmi/ipmi_ssif.c    |    4 ++--
>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
> index 8a45e92..e8b406b 100644
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -1283,14 +1283,14 @@ static int smi_num; /* Used to sequence the SMIs */
>  #define DEFAULT_REGSIZE		1
>  
>  #ifdef CONFIG_ACPI
> -static bool          si_tryacpi = 1;
> +static bool          si_tryacpi = true;
>  #endif
>  #ifdef CONFIG_DMI
> -static bool          si_trydmi = 1;
> +static bool          si_trydmi = true;
>  #endif
> -static bool          si_tryplatform = 1;
> +static bool          si_tryplatform = true;
>  #ifdef CONFIG_PCI
> -static bool          si_trypci = 1;
> +static bool          si_trypci = true;
>  #endif
>  static bool          si_trydefaults = IS_ENABLED(CONFIG_IPMI_SI_PROBE_DEFAULTS);
>  static char          *si_type[SI_MAX_PARMS];
> diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c
> index 207689c..428a5fa 100644
> --- a/drivers/char/ipmi/ipmi_ssif.c
> +++ b/drivers/char/ipmi/ipmi_ssif.c
> @@ -1154,11 +1154,11 @@ static int use_thread;
>  module_param(use_thread, int, 0);
>  MODULE_PARM_DESC(use_thread, "Use the thread interface.");
>  
> -static bool ssif_tryacpi = 1;
> +static bool ssif_tryacpi = true;
>  module_param_named(tryacpi, ssif_tryacpi, bool, 0);
>  MODULE_PARM_DESC(tryacpi, "Setting this to zero will disable the default scan of the interfaces identified via ACPI");
>  
> -static bool ssif_trydmi = 1;
> +static bool ssif_trydmi = true;
>  module_param_named(trydmi, ssif_trydmi, bool, 0);
>  MODULE_PARM_DESC(trydmi, "Setting this to zero will disable the default scan of the interfaces identified via DMI (SMBIOS)");
>  


      reply	other threads:[~2015-05-26 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 19:24 [PATCH] char:ipmi - Change 1 to true for bool type variables during initialization Shailendra Verma
2015-05-26 14:28 ` 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=55648309.9020400@acm.org \
    --to=minyard@acm.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=shailendra.capricorn@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.