diff options
author | 2017-06-09 21:27:12 +0200 | |
---|---|---|
committer | 2017-06-27 17:34:53 +0800 | |
commit | 4a3bfb5c24306aa129c0de32e5d1ffb553a60a7c (patch) | |
tree | e713f3d168aedaf5c94265cff2074572b1199936 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/mediatek: re-phrase DRM_INFO error message (diff) | |
download | linux-dev-4a3bfb5c24306aa129c0de32e5d1ffb553a60a7c.tar.xz linux-dev-4a3bfb5c24306aa129c0de32e5d1ffb553a60a7c.zip |
drm/mediatek: check for memory allocation failure
If 'devm_kmalloc_array' returns NULL, we should return -ENOMEM as already
done a few lines above instead of deferencing a NULL pointer a few lines
below.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions