drm/msm/mdp: fix a problematic usage of WARN_ON()

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>
This commit is contained in:
Geliang Tang 2015-11-25 21:12:14 +08:00 committed by Rob Clark
parent beb107f30e
commit 2abd1c8834
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}