Skip to contentSkip to conversation

mips: kernel/vpe.c: fix wrong KERN_WARNING message

PATCH Applied Cong Ding 2 participants 2 messages Jan 14, 2013 – Jan 16, 2013 MIPS

lore
Share & tools
lore

Cong Ding

author
#0 lore raw

PATCH 1/1 mips: kernel/vpe.c: fix wrong KERN_WARNING message

in the printk, the variable t euqals to NULL, so there is no t->index, we use v->tc->index instead.

---
 arch/mips/kernel/vpe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/vpe.c +1 -1
index eec690a..3e20c33 100644
@@ -705,7 +705,7 @@ static int vpe_run(struct vpe * v)
 
 			printk(KERN_WARNING
 			       "VPE loader: TC %d is already in use.\n",
-                               t->index);
+                               v->tc->index);
 			return -ENOEXEC;
 		}
 	} else {
Signature · 1 line
1.7.9.5