mirror of https://gitee.com/openkylin/linux.git
9e326f7871
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> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
consolemap.c | ||
cp437.uni | ||
defkeymap.c_shipped | ||
defkeymap.map | ||
keyboard.c | ||
selection.c | ||
vc_screen.c | ||
vt.c | ||
vt_ioctl.c |