diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-11-22 22:34:44 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-08 11:15:41 -0500 |
| commit | 5a18c2434f8bfc8bc2fb0f8af3e44f7408d63e4f (patch) | |
| tree | 1421b4340a43bf03257ab5ebc43fcb605d7bb2bb /tools/perf/scripts/python/netdev-times.py | |
| parent | 20772c1a6f0e03d4231e2b539863987fa0c94e89 (diff) | |
media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
Check return value from call to devm_kzalloc() in order to prevent
a NULL pointer dereference.
This issue was detected with the help of Coccinelle.
Fixes: 4a5f8ae50b66 ("[media] davinci: vpif_capture: get subdevs from DT when available")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions