From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: [PATCH 3/3] param: convert some "on"/"off" users to strtobool Date: Fri, 29 Jan 2016 14:15:58 +1100 Message-ID: <1454037358.30708.1.camel@ellerman.id.au> References: <1453990627-19164-1-git-send-email-keescook@chromium.org> <1453990627-19164-4-git-send-email-keescook@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Joe Perches , Rasmus Villemoes , Daniel Borkmann , Amitkumar Karwar , Nishant Sarmukadam , Kalle Valo , Steve French , Heiko Carstens , Martin Schwidefsky , linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Kees Cook , Andrew Morton Return-path: In-Reply-To: <1453990627-19164-4-git-send-email-keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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 > Cc: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org > Cc: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org > Cc: linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > --- > arch/powerpc/kernel/rtasd.c | 10 +++------- > arch/powerpc/platforms/pseries/hotplug-cpu.c | 11 +++-------- Acked-by: Michael Ellerman (powerpc) cheers