aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-09-11 06:56:35 +0800
committerInki Dae <[email protected]>2013-09-16 21:57:08 +0900
commit662bb6992a505ad41db3c8b52b1e70934507c2e2 (patch)
treeef2016ba2ab78c0f33b1d789ae712089ac17312a /tools/perf/util/trace-event-scripting.c
parentfafb38374bfaa92bc943fba4edf73849be2968a8 (diff)
drm/exynos: fix return value check in lowlevel_buffer_allocate()
In case of error, the function drm_prime_pages_to_sg() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions