diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-01-05 10:34:07 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-11 09:30:11 -0700 |
commit | a0a8e4197bfe5810a61b262f0c57426e43d60feb (patch) | |
tree | 088995be6c719af91a800803822171e1fa99c41c /net/core/dev.c | |
parent | a1dbc0979b4f92f3b0d0bb86671639e09315f43c (diff) |
v4l: s5c73m3: fix negation operator
commit a2370ba2752538404e363346b339869c9973aeac upstream.
Bool values should be negated using logical operators. Using bitwise operators
results in unexpected and possibly incorrect results.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions