Re: [PATCH 02/10] vt: Implement helpers for struct vc_font in source file

From
Greg KH <gregkh@linuxfoundation.org>
Date
2026-03-30 15:35:41
Also in
dri-devel, linux-serial, lkml
Reply to
Thomas Zimmermann, 2026-03-27
On Fri, Mar 27, 2026 at 01:49:35PM +0100, Thomas Zimmermann wrote:
Move the helpers vc_font_pitch() and vc_font_size() from the VT
header file into source file. They are not called very often, so
there's no benefit in keeping them in the headers. Also avoids
including <liux/math.h> from the header.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/tty/vt/vt.c            | 35 ++++++++++++++++++++++++++++++++++
 include/linux/console_struct.h | 30 ++---------------------------
 2 files changed, 37 insertions(+), 28 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thread (18 messages) 18 messages, 5 authors, last reply 2026-04-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help