projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f9e228
)
exynos-drm: Fix error messages to print flags and size
author
Shuah Khan
<shuahkh@osg.samsung.com>
Wed, 10 Aug 2016 17:30:36 +0000
(11:30 -0600)
committer
Inki Dae
<daeinki@gmail.com>
Mon, 5 Dec 2016 13:08:58 +0000
(22:08 +0900)
Fix exynos_drm_gem_create() error messages to include flags and size when
flags and size are invalid.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_gem.c
b/drivers/gpu/drm/exynos/exynos_drm_gem.c
index f2ae72ba7d5ac87e9d3d399fca5453b2799215e0..ea7a18230888a252da6dbfefc03b001b52133fc3 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_gem.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_gem.c
@@
-231,12
+231,12
@@
struct exynos_drm_gem *exynos_drm_gem_create(struct drm_device *dev,
int ret;
if (flags & ~(EXYNOS_BO_MASK)) {
- DRM_ERROR("invalid
flags.\n"
);
+ DRM_ERROR("invalid
GEM buffer flags: %u\n", flags
);
return ERR_PTR(-EINVAL);
}
if (!size) {
- DRM_ERROR("invalid
size.\n"
);
+ DRM_ERROR("invalid
GEM buffer size: %lu\n", size
);
return ERR_PTR(-EINVAL);
}