From: Christopher Brannon Date: Tue, 22 Nov 2011 19:46:23 +0000 (-0600) Subject: Staging: speakup: Don't try to access an unallocated struct. X-Git-Tag: v3.3-rc1~152^2~101^2~252 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4afaee1561e207683dbb886b30a842ffcc22e366;p=pandora-kernel.git Staging: speakup: Don't try to access an unallocated struct. In speakup_init, we have the following: if (quiet_boot) spk_shut_up |= 0x01; And in spk_types.h: This patch moves the statement in speakup_init so that speakup_console[vc->vc_num] is guaranteed to be allocated when it executes. Signed-off-by: Christopher Brannon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed