vt: use newly defined CUR_* macros
We defined macros for all the magic constants in the previous patch. So let us use the macro in the code now. No functional change intended. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Thomas Winischhofer <thomas@winischhofer.net> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Helge Deller <deller@gmx.de> Cc: linux-usb@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: linux-parisc@vger.kernel.org Acked-by: Helge Deller <deller@gmx.de> Link: https://lore.kernel.org/r/20200615074910.19267-26-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
このコミットが含まれているのは:
@@ -727,7 +727,7 @@ sisusbcon_cursor(struct vc_data *c, int mode)
|
||||
|
||||
baseline = c->vc_font.height - (c->vc_font.height < 10 ? 1 : 2);
|
||||
|
||||
switch (c->vc_cursor_type & 0x0f) {
|
||||
switch (CUR_SIZE(c->vc_cursor_type)) {
|
||||
case CUR_BLOCK: from = 1;
|
||||
to = c->vc_font.height;
|
||||
break;
|
||||
|
新しいイシューから参照
ユーザーをブロックする