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

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

Merge "msm: adsprpc: Avoid leak info of pointers addresses to dmesg"

parents 6ebad12a ce566451
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -2108,7 +2108,7 @@ static ssize_t fastrpc_debugfs_read(struct file *filp, char __user *buffer,
		spin_lock(&fl->hlock);
		hlist_for_each_entry_safe(buf, n, &fl->bufs, hn) {
			len += scnprintf(fileinfo + len, DEBUGFS_SIZE - len,
						"%s %p %s %p %s %llx\n", "buf:",
					"%s %pK %s %pK %s %llx\n", "buf:",
					buf, "buf->virt:", buf->virt,
					"buf->phys:", buf->phys);
		}
@@ -2117,7 +2117,7 @@ static ssize_t fastrpc_debugfs_read(struct file *filp, char __user *buffer,
					"LIST OF MAPS:");
		hlist_for_each_entry_safe(map, n, &fl->maps, hn) {
			len += scnprintf(fileinfo + len, DEBUGFS_SIZE - len,
						"%s %p %s %lx %s %llx\n",
						"%s %pK %s %lx %s %llx\n",
						"map:", map,
						"map->va:", map->va,
						"map->phys:", map->phys);
@@ -2127,7 +2127,7 @@ static ssize_t fastrpc_debugfs_read(struct file *filp, char __user *buffer,
					"LIST OF PENDING SMQCONTEXTS:");
		hlist_for_each_entry_safe(ictx, n, &fl->clst.pending, hn) {
			len += scnprintf(fileinfo + len, DEBUGFS_SIZE - len,
						"%s %p %s %u %s %u %s %u\n",
						"%s %pK %s %u %s %u %s %u\n",
						"smqcontext:", ictx,
						"sc:", ictx->sc,
						"tid:", ictx->pid,
@@ -2138,7 +2138,7 @@ static ssize_t fastrpc_debugfs_read(struct file *filp, char __user *buffer,
					"LIST OF INTERRUPTED SMQCONTEXTS:");
		hlist_for_each_entry_safe(ictx, n, &fl->clst.interrupted, hn) {
		len += scnprintf(fileinfo + len, DEBUGFS_SIZE - len,
					"%s %p %s %u %s %u %s %u\n",
					"%s %pK %s %u %s %u %s %u\n",
					"smqcontext:", ictx,
					"sc:", ictx->sc,
					"tid:", ictx->pid,