aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2013-09-22 20:44:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 16:48:45 -0700
commitcdddc28a0803a958993efc72388596493dcf74b6 (patch)
treee147ca8f26470be87e437991117d359d4708e9f4 /scripts/patch-kernel
parent11f9c3218beeebdd86157949ccdfff1c9f82ff75 (diff)
Staging: crystalhd: Fix assignment of 0/1 to bool variables
Convert 0 to false and 1 to true when assigning values to bool variables. Inspired by commit 3db1cd5c05f35fb43eb134df6f321de4e63141f2. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @@ bool b; @@ ( -b = 0 +b = false | -b = 1 +b = true ) Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions