summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/of_serial.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-10-02 13:34:31 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-06 04:12:02 (GMT)
commit9e326f78713a4421fe11afc2ddeac07698fac131 (patch)
tree0b927328171fefe95865293359858a58d8a18f4b /drivers/tty/serial/of_serial.c
parentcd92208f6996f7d190a15eb278e7d02499e2d264 (diff)
downloadlinux-9e326f78713a4421fe11afc2ddeac07698fac131.tar.xz
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>
Diffstat (limited to 'drivers/tty/serial/of_serial.c')
0 files changed, 0 insertions, 0 deletions