diff options
| author | Nicholas Mc Guire <[email protected]> | 2018-09-09 12:02:32 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-09-24 09:32:56 -0400 |
| commit | c5d59528e24ad22500347b199d52b9368e686a42 (patch) | |
| tree | 98b25f660450d51ee89b1a04538259a0d6ccfd01 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f347596f2bf114a3af3d80201c6e6bef538d884f (diff) | |
media: pci: cx23885: handle adding to list failure
altera_hw_filt_init() which calls append_internal() assumes
that the node was successfully linked in while in fact it can
silently fail. So the call-site needs to set return to -ENOMEM
on append_internal() returning NULL and exit through the err path.
Fixes: 349bcf02e361 ("[media] Altera FPGA based CI driver module")
Signed-off-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions