diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 00:02:28 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 00:02:28 +0100 |
commit | 72db395ffadb1d33233fd123c2bf87ba0198c6c1 (patch) | |
tree | 797832ee187297bb01cbad849b614c0caaac39ed /drivers/mtd/maps/vmu-flash.c | |
parent | intelfbdrv.c: bailearly is an int module_param (diff) | |
download | linux-72db395ffadb1d33233fd123c2bf87ba0198c6c1.tar.xz linux-72db395ffadb1d33233fd123c2bf87ba0198c6c1.zip |
module_param: check that bool parameters really are bool.
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>
Diffstat (limited to 'drivers/mtd/maps/vmu-flash.c')
0 files changed, 0 insertions, 0 deletions