diff options
author | Vasily Gorbik <[email protected]> | 2019-08-19 17:55:44 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2019-08-26 12:51:18 +0200 |
commit | 5f0917a281c66fb310988d4c38f3c55b7023b8ff (patch) | |
tree | 6e16b0e24545f26d943d8d437c8787814bc5adae /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 3d644364533931df298dc4f026a74731c2f752cb (diff) |
s390/cmma: reuse kstrtobool for option value parsing
"cmma" option setup already recognises some textual values. Yet kstrtobool
is a more common way to parse boolean values, reuse it to unify option
value parsing behavior and simplify code a bit.
While at it, __setup value parsing callbacks are expected to return
1 when an option is recognized, and returning any other value won't
trigger any error message currently, so simply return 1.
Reviewed-by: Philipp Rudo <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions