From: Rusty Russell Date: Thu, 12 Jan 2012 23:02:28 +0000 (+1030) Subject: module_param: check that bool parameters really are bool. X-Git-Tag: v3.3-rc1~66^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72db395ffadb1d33233fd123c2bf87ba0198c6c1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed