From feea7e613ddeb47c84916c92bb5433138b0c26ff Mon Sep 17 00:00:00 2001 From: Ingrid Gallardo Date: Wed, 12 Oct 2016 18:40:25 -0700 Subject: [PATCH] msm: mdss: fix typo in the error message for multirect validation If during the multirect validation an error is found, driver tries to print the both rectangles causing the error. Currently the printed values are wrong due a typo on the height of the rectangles, this is misleading to debug the actual errors. Change-Id: Ic48e3a65b19c378deff7e5c149d5b30aca6e73c7 Signed-off-by: Ingrid Gallardo --- drivers/video/fbdev/msm/mdss_mdp_layer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_layer.c b/drivers/video/fbdev/msm/mdss_mdp_layer.c index 91d4332700b6..b2c2f19e402d 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_layer.c +++ b/drivers/video/fbdev/msm/mdss_mdp_layer.c @@ -1618,8 +1618,8 @@ static bool __multirect_validate_rects(struct mdp_input_layer **layers, /* resolution related validation */ if (mdss_rect_overlap_check(&dst[0], &dst[1])) { pr_err("multirect dst overlap is not allowed. input: %d,%d,%d,%d paired %d,%d,%d,%d\n", - dst[0].x, dst[0].y, dst[0].w, dst[0].y, - dst[1].x, dst[1].y, dst[1].w, dst[1].y); + dst[0].x, dst[0].y, dst[0].w, dst[0].h, + dst[1].x, dst[1].y, dst[1].w, dst[1].h); return false; }