Skip to content

Commit

Permalink
rk fb: fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rockchip committed May 31, 2014
1 parent 9697d55 commit 7cea666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/rockchip/rk_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7cea666

Please sign in to comment.