projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d06cd0
)
drm/prime: Cocci spatch "err_cast.spatch"
author
Thomas Meyer
<thomas@m3y3r.de>
Sat, 1 Jun 2013 10:09:27 +0000
(10:09 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 10 Jun 2013 22:30:49 +0000
(08:30 +1000)
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_prime.c
patch
|
blob
|
history
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);