diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-02 06:45:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-06 09:57:09 -0200 |
commit | 4a9c85aa495a35593eb7f3fd3dc259fd020308b4 (patch) | |
tree | 8a24632ac74f1129f11fb47df5abf2067b742b94 /drivers/media/platform/vino.h | |
parent | b311ea4bf18153b78d26e62304a30434447dbbf0 (diff) | |
download | blackbird-op-linux-4a9c85aa495a35593eb7f3fd3dc259fd020308b4.tar.gz blackbird-op-linux-4a9c85aa495a35593eb7f3fd3dc259fd020308b4.zip |
[media] s5p-mfc: Fix an error check
Checking unsigned variable for negative value always returns false.
Hence make this value signed as we expect it to be negative too.
Fixes the following smatch warning:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:572
s5p_mfc_set_enc_ref_buffer_v6() warn: unsigned 'buf_size1' is never
less than zero.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/vino.h')
0 files changed, 0 insertions, 0 deletions