projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f9b4ec
)
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
Joonyoung Shim
<jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:06 +0000
(10:29 +0900)
Change-Id: I0bef77cfc5aaf26379d8da5cf1cc77a155bebffc
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
4eb519d
..
e57c675
100644
(file)
--- a/
drivers/gpu/drm/drm_prime.c
+++ b/
drivers/gpu/drm/drm_prime.c
@@
-296,7
+296,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);