commit | 4ba59616879217a7659a6cf343284aecb9a65ec2 | [log] [tgz] |
---|---|---|
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | Thu Jun 15 13:31:53 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Jun 20 08:53:40 2017 -0300 |
tree | cbb3c36f16f7ca9adc1d749d4192ed3305368649 | |
parent | 2b2e6488c0a8d4b9b2e20d117228925b80dbc24b [diff] |
[media] media: venus: helpers: fix variable dereferenced before check This fixes a warning found when building the driver with gcc7: drivers/media/platform/qcom/venus/helpers.c:157 load_per_instance() warn: variable dereferenced before check 'inst' (see line 153) Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>