summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell2009-06-13 05:46:57 +0200
committerRusty Russell2009-06-12 14:16:58 +0200
commitfddd520122953550ec2c8b60e7ca0d0f0d115d97 (patch)
treed0c45f94bc0054661ee9af41b607815c24a36cff /lib
parentmodule_param: add __same_type convenience wrapper for __builtin_types_compati... (diff)
downloadkernel-qcow2-linux-fddd520122953550ec2c8b60e7ca0d0f0d115d97.tar.gz
kernel-qcow2-linux-fddd520122953550ec2c8b60e7ca0d0f0d115d97.tar.xz
kernel-qcow2-linux-fddd520122953550ec2c8b60e7ca0d0f0d115d97.zip
module_param: allow 'bool' module_params to be bool, not just int.
Impact: API cleanup For historical reasons, 'bool' parameters must be an int, not a bool. But there are around 600 users, so a conversion seems like useless churn. So we use __same_type() to distinguish, and handle both cases. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions