Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d39add80 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Print task name when fb_open fails"

parents b6eef5fb 99787c6e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1248,9 +1248,11 @@ static int mdss_fb_open(struct fb_info *info, int user)
	struct mdss_fb_proc_info *pinfo = NULL;
	int result;
	int pid = current->tgid;
	struct task_struct *task = current->group_leader;

	if (mfd->shutdown_pending) {
		pr_err("Shutdown pending. Aborting operation\n");
		pr_err("Shutdown pending. Aborting operation. Request from pid:%d name=%s\n",
				pid, task->comm);
		return -EPERM;
	}