aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2017-10-11 11:36:56 +0000
committerRob Clark <[email protected]>2017-10-12 14:59:56 +0000
commitc9811d0fa55929b182f62e0ee49b71b0bea6a936 (patch)
treea46d20541bab574dec847277e92d5e7a9ebb3959 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentdrm/msm: use proper memory barriers for updating tail/head (diff)
downloadkernel-c9811d0fa55929b182f62e0ee49b71b0bea6a936.tar.gz
kernel-c9811d0fa55929b182f62e0ee49b71b0bea6a936.zip
drm/msm: fix return value check in _msm_gem_kernel_new()
In case of error, the function msm_gem_get_vaddr() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 8223286d62e2 ("drm/msm: Add a helper function for in-kernel buffer allocations") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions