Skip to content
Commit fddd5201 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent d2c123c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment