aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-04-23 18:40:30 -0300
committerMauro Carvalho Chehab <[email protected]>2017-06-20 09:04:46 -0300
commit72b7876c2e3b6087c72ce030d8145ec4a7328121 (patch)
tree4db4c275316d491990a6d74455752b0c5bf2f7d5 /tools/perf/scripts
parent8b8470fdf4ce059460ffc6dd54a350df9ac87ad3 (diff)
[media] vb2: Fix error handling in '__vb2_buf_mem_alloc'
'call_ptr_memop' can return NULL, so we must test its return value with 'IS_ERR_OR_NULL'. Otherwise, the test 'if (mem_priv)' is meaningless. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions