Messages in this thread | | | From | Mathias LEBLANC <> | Date | Mon, 12 Nov 2012 10:26:31 +0100 | Subject | RE: [PATCH 1/1] TPM: STMicroelectronics ST33 I2C V1.2.0 |
| |
Variable interrupts value must be 0 or 1. This restriction is defined by the fact of using the bool parameter (true or false)
Regards,
Mathias Leblanc ________________________________________ From: Rusty Russell [rusty@ozlabs.org] Sent: 08 November 2012 13:18 To: Mathias LEBLANC; Kent Yoder; Rajiv Andrade; Marcel Selhorst; Sirrix AG; tpmdd-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org; Jean-Luc BLANC; Mathias LEBLANC Subject: Re: [PATCH 1/1] TPM: STMicroelectronics ST33 I2C V1.2.0
Mathias Leblanc <mathias.leblanc@st.com> writes: > +static int interrupts ; > +module_param(interrupts, bool, 0444); > +MODULE_PARM_DESC(interrupts, "Enable interrupts"); > + > +static int power_mgt = 1; > +module_param(power_mgt, bool, 0444); > +MODULE_PARM_DESC(power_mgt, "Power Management");
These are not bools, so why does module_param describe them as bool?
Cheers, Rusty.
| |