commit | 9e326f78713a4421fe11afc2ddeac07698fac131 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Thu Oct 02 16:34:31 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 20:12:02 2014 -0800 |
tree | 0b927328171fefe95865293359858a58d8a18f4b | |
parent | cd92208f6996f7d190a15eb278e7d02499e2d264 [diff] |
tty/vt: don't set font mappings on vc not supporting this We can call this function for a dummy console that doesn't support setting the font mapping, which will result in a null ptr BUG. So check for this case and return error for consoles w/o font mapping support. Reference: https://bugzilla.kernel.org/show_bug.cgi?id=59321 Signed-off-by: Imre Deak <imre.deak@intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>