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:
beb107f
)
drm/msm/mdp: fix a problematic usage of WARN_ON()
author
Geliang Tang
<geliangtang@163.com>
Wed, 25 Nov 2015 13:12:14 +0000
(21:12 +0800)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 14 Dec 2015 16:51:04 +0000
(11:51 -0500)
WARN_ON() takes a condition rather than a format string. This patch
converted WARN_ON() to WARN() instead.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
b/drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
index f3bb80833e7380ebf34bc45b276be5b9fb5c81a9..d2c96ef431f4019a5135fd2966587fe51f5baf5e 100644
(file)
--- a/
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
+++ b/
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
@@
-157,7
+157,7
@@
static inline uint32_t mixercfg(uint32_t mixer_cfg, int mixer,
COND(mixer == 1, MDP4_LAYERMIXER_IN_CFG_PIPE6_MIXER1);
break;
default:
- WARN
_ON(
"invalid pipe");
+ WARN
(1,
"invalid pipe");
break;
}