diff options
author | 2016-11-10 22:10:56 +0100 | |
---|---|---|
committer | 2017-02-05 16:19:11 +0800 | |
commit | 5a2c920c99bcd3a05edff184958c334c6b13c262 (patch) | |
tree | f189a576f9da9376ebab98fefd72caeb4500c06c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/rockchip: vop: make vop register setting take effect (diff) | |
download | wireguard-linux-5a2c920c99bcd3a05edff184958c334c6b13c262.tar.xz wireguard-linux-5a2c920c99bcd3a05edff184958c334c6b13c262.zip |
drm/rockchip: return ERR_PTR instead of NULL
rockchip_drm_framebuffer_init is only used in one case, in
rockchip_drm_fbdev.c, where its return value is tested using IS_ERR. To
enable propagating the reason for the error, change the definition so that
it returns an ERR_PTR value.
Problem found with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions