diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-04-27 04:29:52 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-08 09:43:04 +0100 |
commit | fb095146dd0e9e8c3a11295effeefdb0eda3a4bb (patch) | |
tree | 6db17e6fe8c525d3e116eba4c43f4790b9805720 /net/netfilter/nft_reject.c | |
parent | 696ebb3a3a1f252301299c3168139dd20b6363da (diff) |
s3c-camif: fix compiler warnings
commit 7e0d4e92269e574e50a58041fac4cc75a149828c upstream.
Fix these compiler warnings that appeared after switching to gcc-5.1.0:
drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_power':
drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!on == camif->sensor.power_count)
^
drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_streaming':
drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!on == camif->sensor.stream_count)
^
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netfilter/nft_reject.c')
0 files changed, 0 insertions, 0 deletions