Skip to content

Commit

Permalink
char:ipmi - Change 1 to true for bool type variables during initializ…
Browse files Browse the repository at this point in the history
…ation.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
Shailendra Verma authored and Corey Minyard committed Sep 3, 2015
1 parent 881c585 commit fedb25e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,14 +1279,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];
Expand Down
4 changes: 2 additions & 2 deletions drivers/char/ipmi/ipmi_ssif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)");

Expand Down

0 comments on commit fedb25e

Please sign in to comment.