projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/prime: Cocci spatch "err_cast.spatch"
[deliverable/linux.git]
/
drivers
/
gpu
/
drm
/
drm_prime.c
diff --git
a/drivers/gpu/drm/drm_prime.c
b/drivers/gpu/drm/drm_prime.c
index 58ac6770a8c6441652b5756683585833809a991c..d92853e06dbb9aee6c120d983fb23eeb00b72584 100644
(file)
--- a/
drivers/gpu/drm/drm_prime.c
+++ b/
drivers/gpu/drm/drm_prime.c
@@
-297,7
+297,7
@@
struct drm_gem_object *drm_gem_prime_import(struct drm_device *dev,
attach = dma_buf_attach(dma_buf, dev->dev);
if (IS_ERR(attach))
- return ERR_
PTR(PTR_ERR(attach)
);
+ return ERR_
CAST(attach
);
get_dma_buf(dma_buf);
This page took
0.02705 seconds
and
5
git commands to generate.