commit | 4afaee1561e207683dbb886b30a842ffcc22e366 | [log] [tgz] |
---|---|---|
author | Christopher Brannon <chris@the-brannons.com> | Tue Nov 22 13:46:23 2011 -0600 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Nov 26 18:13:55 2011 -0800 |
tree | 0b0d8e8a1292476f03ff87ff226db3f5911ee013 | |
parent | ebadb730435b74483daedcd59d664a2dccbe3903 [diff] |
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 <chris@the-brannons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>