Loading drivers/video/msm/mdss/mdss_fb.c +5 −4 Original line number Original line Diff line number Diff line Loading @@ -2168,8 +2168,9 @@ static int mdss_fb_open(struct fb_info *info, int user) struct task_struct *task = current->group_leader; struct task_struct *task = current->group_leader; if (mfd->shutdown_pending) { if (mfd->shutdown_pending) { pr_err("Shutdown pending. Aborting operation. Request from pid:%d name=%s\n", pr_err_once("Shutdown pending. Aborting operation. Request from pid:%d name=%s\n", pid, task->comm); pid, task->comm); sysfs_notify(&mfd->fbi->dev->kobj, NULL, "show_blank_event"); return -EPERM; return -EPERM; } } Loading Loading @@ -2247,8 +2248,8 @@ static int mdss_fb_release_all(struct fb_info *info, bool release_all) struct task_struct *task = current->group_leader; struct task_struct *task = current->group_leader; if (!mfd->ref_cnt) { if (!mfd->ref_cnt) { pr_info("try to close unopened fb %d! from %s\n", mfd->index, pr_info("try to close unopened fb %d! from pid:%d name:%s\n", task->comm); mfd->index, pid, task->comm); return -EINVAL; return -EINVAL; } } Loading Loading
drivers/video/msm/mdss/mdss_fb.c +5 −4 Original line number Original line Diff line number Diff line Loading @@ -2168,8 +2168,9 @@ static int mdss_fb_open(struct fb_info *info, int user) struct task_struct *task = current->group_leader; struct task_struct *task = current->group_leader; if (mfd->shutdown_pending) { if (mfd->shutdown_pending) { pr_err("Shutdown pending. Aborting operation. Request from pid:%d name=%s\n", pr_err_once("Shutdown pending. Aborting operation. Request from pid:%d name=%s\n", pid, task->comm); pid, task->comm); sysfs_notify(&mfd->fbi->dev->kobj, NULL, "show_blank_event"); return -EPERM; return -EPERM; } } Loading Loading @@ -2247,8 +2248,8 @@ static int mdss_fb_release_all(struct fb_info *info, bool release_all) struct task_struct *task = current->group_leader; struct task_struct *task = current->group_leader; if (!mfd->ref_cnt) { if (!mfd->ref_cnt) { pr_info("try to close unopened fb %d! from %s\n", mfd->index, pr_info("try to close unopened fb %d! from pid:%d name:%s\n", task->comm); mfd->index, pid, task->comm); return -EINVAL; return -EINVAL; } } Loading