commit | cc7666a3948c6a554fa4c39b4fb4ccbdbdce1343 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 15 04:07:10 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Apr 13 17:10:59 2016 -0300 |
tree | e26423deac8b539c17a91989012e1c5818c20917 | |
parent | 60587bd0680507f48ae3a7360983228fd207de8a [diff] |
[media] m5mols: potential uninitialized variable Smatch complains that there are some paths where "status" isn't initialized. The code does assume that m5mols_read_u8() can fail so it seems as if Smatch is correct. Let's initialize it to REG_ISO_AUTO which is zero. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>