summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2011-06-22 14:01:31 +0900
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-06-24 05:47:05 -0700
commit76d918c240d4090a4e220dfb89ffc8e94c7c1997 (patch)
tree0cd5dfa974d255381bcfdeed7ea994f6d531daca /drivers
parentfe183103486468746b63729f502ed732065a0134 (diff)
tegra: fix warning arguments count mismatch
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Change-Id: I32755368de7059a8aa08b114af84d952adf16a1d Reviewed-on: http://git-master/r/37981 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/dc/overlay.c4
-rw-r--r--drivers/video/tegra/fb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/tegra/dc/overlay.c b/drivers/video/tegra/dc/overlay.c
index 863666d96e51..edef51f8d2b0 100644
--- a/drivers/video/tegra/dc/overlay.c
+++ b/drivers/video/tegra/dc/overlay.c
@@ -162,10 +162,10 @@ static int tegra_overlay_set_windowattr(struct tegra_overlay_info *overlay,
win->out_h = flip_win->attr.out_h;
WARN_ONCE(win->out_x >= xres,
- "%s:application window x offset exceeds display width(%d)\n",
+ "%s:application window x offset(%d) exceeds display width(%d)\n",
dev_name(&win->dc->ndev->dev), win->out_x, xres);
WARN_ONCE(win->out_y >= yres,
- "%s:application window y offset exceeds display height(%d)\n",
+ "%s:application window y offset(%d) exceeds display height(%d)\n",
dev_name(&win->dc->ndev->dev), win->out_y, yres);
WARN_ONCE(win->out_x + win->out_w > xres && win->out_x < xres,
"%s:application window width(%d) exceeds display width(%d)\n",
diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c
index b64c4bb6bb97..a28ba561477c 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -425,10 +425,10 @@ static int tegra_fb_set_windowattr(struct tegra_fb_info *tegra_fb,
win->out_h = flip_win->attr.out_h;
WARN_ONCE(win->out_x >= xres,
- "%s:application window x offset exceeds display width(%d)\n",
+ "%s:application window x offset(%d) exceeds display width(%d)\n",
dev_name(&win->dc->ndev->dev), win->out_x, xres);
WARN_ONCE(win->out_y >= yres,
- "%s:application window y offset exceeds display height(%d)\n",
+ "%s:application window y offset(%d) exceeds display height(%d)\n",
dev_name(&win->dc->ndev->dev), win->out_y, yres);
WARN_ONCE(win->out_x + win->out_w > xres && win->out_x < xres,
"%s:application window width(%d) exceeds display width(%d)\n",