1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/usb/misc/sisusbvga
Peilin Ye 259a252c1f console: Delete dummy con_font_set() and con_font_default() callback implementations
.con_font_set and .con_font_default callbacks should not pass `struct
console_font *` as a parameter, since `struct console_font` is a UAPI
structure.

We are trying to let them use our new kernel font descriptor, `struct
font_desc` instead. To make that work slightly easier, first delete all of
their no-op implementations used by dummy consoles.

This will make KD_FONT_OP_SET and KD_FONT_OP_SET_DEFAULT ioctl() requests
on dummy consoles start to fail and return `-ENOSYS`, which is intended,
since no user should ever expect such operations to succeed on dummy
consoles.

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/9952c7538d2a32bb1a82af323be482e7afb3dedf.1605169912.git.yepeilin.cs@gmail.com
2020-11-16 16:31:09 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb.c USB: sisusbvga: Fix a potential UB casued by left shifting a negative value 2020-07-15 16:48:10 +02:00
sisusb.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
sisusb_con.c console: Delete dummy con_font_set() and con_font_default() callback implementations 2020-11-16 16:31:09 +01:00
sisusb_init.c usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00
sisusb_init.h usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00
sisusb_struct.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
sisusb_tables.h usb: misc: sisusbvga: Move static const tables out to different include file 2020-07-15 17:25:57 +02:00