From 7cea666744c727052bbc79f7caabac7e2eaee155 Mon Sep 17 00:00:00 2001 From: Rockchip Date: Sat, 31 May 2014 15:01:16 +0800 Subject: [PATCH] rk fb: fix compile warning --- drivers/video/rockchip/rk_fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index b1d7df69b74..eeaef942d7a 100755 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -888,13 +888,13 @@ static int rk_fb_ioctl(struct fb_info *info, unsigned int cmd,unsigned long arg) if((fence_wait_begin == 1)&&(dev_drv->suspend_flag == 0)){ dev_drv->win_data.rel_fence_fd[0] = get_unused_fd(); if (dev_drv->win_data.rel_fence_fd[0] < 0){ - printk("%s,rel_fence_fd=%d\n",dev_drv->win_data.rel_fence_fd[0]); + printk("rel_fence_fd=%d\n",dev_drv->win_data.rel_fence_fd[0]); return -EFAULT; } dev_drv->win_data.rel_fence_fd[1] = get_unused_fd(); if (dev_drv->win_data.rel_fence_fd[1] < 0){ - printk("%s,rel_fence_fd=%d\n",dev_drv->win_data.rel_fence_fd[1]); + printk("rel_fence_fd=%d\n",dev_drv->win_data.rel_fence_fd[1]); return -EFAULT; }