Re: [PATCH 3/3] param: convert some "on"/"off" users to strtobool

From
Michael Ellerman <hidden>
Date
2016-01-29 03:16:04
Also in
linux-cifs, linux-wireless, linuxppc-dev, lkml
Reply to
Kees Cook, 2016-01-28
On Thu, 2016-01-28 at 06:17 -0800, Kees Cook wrote:
This changes several users of manual "on"/"off" parsing to use strtobool.
You should probably point out that it's a slight behaviour change for some
users. ie. parameters that previously *only* worked with "on"/"off", can now
also take 0/1/y/n etc.

But I don't think that's a show stopper.

Signed-off-by: Kees Cook <redacted>
Cc: <redacted>
Cc: <redacted>
Cc: <redacted>
---
 arch/powerpc/kernel/rtasd.c                  | 10 +++-------
 arch/powerpc/platforms/pseries/hotplug-cpu.c | 11 +++--------
Acked-by: Michael Ellerman <redacted> (powerpc)


cheers
Thread (8 messages) 8 messages, 4 authors, last reply 2016-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help