linux/kernel/livepatch
Josh Poimboeuf 68ae4b2b68 livepatch: use kstrtobool() in enabled_store()
The sysfs enabled value is a boolean, so kstrtobool() is a better fit
for parsing the input string since it does the range checking for us.

Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-03-08 09:23:52 +01:00
..
core.c livepatch: use kstrtobool() in enabled_store() 2017-03-08 09:23:52 +01:00
Kconfig livepatch: rename config to CONFIG_LIVEPATCH 2015-02-04 11:25:51 +01:00
Makefile livepatch: move patching functions into patch.c 2017-03-08 09:23:40 +01:00
patch.c livepatch: move patching functions into patch.c 2017-03-08 09:23:40 +01:00
patch.h livepatch: move patching functions into patch.c 2017-03-08 09:23:40 +01:00