Fonts: Make font size unsigned in font_desc
authorPeilin Ye <yepeilin.cs@gmail.com>
Wed, 28 Oct 2020 10:56:47 +0000 (06:56 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Oct 2020 18:40:11 +0000 (19:40 +0100)
commit7cb415003468d41aecd6877ae088c38f6c0fc174
tree4b76922038fc1a26be24a914c7de569e72689c70
parente000650375b65ff77c5ee852b5086f58c741179e
Fonts: Make font size unsigned in font_desc

`width` and `height` are defined as unsigned in our UAPI font descriptor
`struct console_font`. Make them unsigned in our kernel font descriptor
`struct font_desc`, too.

Also, change the corresponding printk() format identifiers from `%d` to
`%u`, in sti_select_fbfont().

Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201028105647.1210161-1-yepeilin.cs@gmail.com
drivers/video/console/sticore.c
include/linux/font.h