commit | 4eaa3a6cc4c577103d678492ec50979b3aa360a4 | [log] [tgz] |
---|---|---|
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | Thu Mar 05 23:39:40 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Apr 02 18:10:38 2015 -0300 |
tree | 8d9de85d40ac685b0728718d54945589d9fa4dbf | |
parent | 64bf8049a2ec1e61e1475eb02b5514d7061d443e [diff] |
[media] drivers: media: platform: vivid: Fix possible null derefrence Check for dev_fmt being null before derefrencing it, to assign it to planes. Found using Coccinelle. Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>