projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
627df4b
)
drm/cma: Replace PTR_RET with PTR_ERR_OR_ZERO
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 15 Jul 2013 10:34:46 +0000
(16:04 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 16 Jul 2013 06:36:01 +0000
(16:06 +0930)
PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/gpu/drm/drm_gem_cma_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_gem_cma_helper.c
b/drivers/gpu/drm/drm_gem_cma_helper.c
index ece72a8ac245ed6f3bc8587813f0e51cb1653821..61c1d17f870cccb4756cff905139aee3721d31b8 100644
(file)
--- a/
drivers/gpu/drm/drm_gem_cma_helper.c
+++ b/
drivers/gpu/drm/drm_gem_cma_helper.c
@@
-215,7
+215,7
@@
int drm_gem_cma_dumb_create(struct drm_file *file_priv,
cma_obj = drm_gem_cma_create_with_handle(file_priv, dev,
args->size, &args->handle);
- return PTR_
RET
(cma_obj);
+ return PTR_
ERR_OR_ZERO
(cma_obj);
}
EXPORT_SYMBOL_GPL(drm_gem_cma_dumb_create);