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:
b9ede27
)
drm/exynos: Add missing braces around sizeof
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 25 Jan 2013 09:15:42 +0000
(14:45 +0530)
committer
Inki Dae
<inki.dae@samsung.com>
Thu, 21 Feb 2013 06:00:26 +0000
(15:00 +0900)
Fixes the following checkpatch warning:
WARNING: sizeof *sgt should be sizeof(*sgt)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index 9a4c08e7453c35b2566c2c76b3bc7fa4406d7696..ddcfb5d2ca43ff099056c5f84c3d91a94099ceb7 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@
-429,7
+429,7
@@
static dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev,
g2d_userptr->pages = pages;
- sgt = kzalloc(sizeof
*sgt
, GFP_KERNEL);
+ sgt = kzalloc(sizeof
(*sgt)
, GFP_KERNEL);
if (!sgt) {
DRM_ERROR("failed to allocate sg table.\n");
ret = -ENOMEM;