git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e0255
)
module_param: check that bool parameters really are bool.
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:28 +0000
(09:32 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:28 +0000
(09:32 +1030)
module_param(bool) used to counter-intuitively take an int. In
fddd5201
(mid-2009) we allowed bool or int/unsigned int using a messy
trick.
This tightens the check (you'll get a warning about incompatible
return type) but still allows it. Next kernel version, we'll remove
it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
No differences found