From: Cong Ding Date: Mon, 14 Jan 2013 17:23:29 +0000 (+0000) Subject: MIPS: vpe.c: Fix null pointer dereference in print arguments. X-Git-Tag: v3.8-rc6~4^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2d03247632920aa21b42a0b032a4ffd44ce15e;p=pandora-kernel.git 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 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 --- Reading git-diff-tree failed