lkml.org 
[lkml]   [2014]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Set bounds on what /proc/self/make-it-fail accepts.
On Wed, 19 Feb 2014, Akinobu Mita wrote:

> I don't have any plans to extend /proc/self/make-it-fail to support
> other than 0 or 1. So I have no objection against this change.
>
> Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
>

Ok, thanks. I hoped that the simple_strtol() would have been replaced by
kstrtoint() since it's the preferred interface to make a lot of this
simpler and then just test for val == !!val, but the minimal change is
fine as well.

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2014-02-19 23:21    [W:0.042 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site