MIPS: vpe.c: Fix null pointer dereference in print arguments.
authorCong Ding <dinggnu@gmail.com>
Mon, 14 Jan 2013 17:23:29 +0000 (17:23 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 16 Jan 2013 15:29:23 +0000 (16:29 +0100)
commit3d2d03247632920aa21b42a0b032a4ffd44ce15e
treefce2cf0aa88b98ae3485e1b514c2b65606e77fc0
parent9931faca02c604c22335f5a935a501bb2ace6e20
MIPS: vpe.c: Fix null pointer dereference in print arguments.

In the printk, the variable t euqals to NULL, so there is no t->index.
Use v->tc->index instead.

[ralf@linux-mips.org: Use opportunity of changing this line anyway to make
this line whitespacely correct.]

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/4792/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c