lkml.org 
[lkml]   [2016]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] lib: add "on" and "off" to strtobool
Date
This consolidates logic for handling "on"/"off" parsing for bools into
the strtobool function, by way of moving it into kstrtobool (with helpers),
and updating various callers.

arch/powerpc/kernel/rtasd.c | 9 ---
arch/powerpc/platforms/pseries/hotplug-cpu.c | 10 ----
arch/s390/kernel/time.c | 8 ---
arch/s390/kernel/topology.c | 7 ---
arch/x86/kernel/aperture_64.c | 12 -----
drivers/net/wireless/marvell/mwifiex/debugfs.c | 10 +---
fs/cifs/cifs_debug.c | 58 ++++++-------------------
fs/cifs/cifs_debug.h | 2
fs/cifs/cifsfs.c | 6 +-
fs/cifs/cifsglob.h | 4 -
include/linux/kernel.h | 3 +
include/linux/string.h | 6 ++
include/linux/tick.h | 2
kernel/time/hrtimer.c | 10 ----
kernel/time/tick-sched.c | 10 ----
lib/kstrtox.c | 49 +++++++++++++++++++++
lib/string.c | 29 ------------
17 files changed, 98 insertions(+), 137 deletions(-)

-Kees

\
 
 \ /
  Last update: 2016-02-04 22:41    [W:0.143 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site