commit | 6246c3a43bfde6b845290e397e35f1d7cd902050 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Apr 20 06:13:52 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed May 09 16:15:59 2018 -0400 |
tree | 9bdada1489d72a5e21c4c0262d991afe037b64b6 | |
parent | f6b6631478d7708d86dc0b268671d5191b96946e [diff] |
media: vpbe_venc: potential uninitialized variable in ven_sub_dev_init() Smatch complains that "venc" could be uninitialized. There are a couple of error paths where it looks like maybe that could happen. I don't know if it's really a bug, but it's reasonable to set "venc" to NULL and silence the warning. 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+samsung@kernel.org>