diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-11-29 09:49:19 +0300 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2017-07-18 09:40:55 +0300 |
commit | d7f482313322892b28f3c14958177cd15c6a113d (patch) | |
tree | fdd1a16f10442a207f1ce55db59647602de8e0c1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1a4adb05632e902c9819af7c5eeded5243f1dc6c (diff) | |
download | linux-d7f482313322892b28f3c14958177cd15c6a113d.tar.xz |
drm/vmwgfx: Fix handling of errors returned by 'vmw_cotable_alloc()'
'vmw_cotable_alloc()' returns an error pointer on error, not NULL.
Propagate the error code, instead of returning -ENOMEM unconditionally
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions