..--- a/include/uapi/linux/kd.h
+++ b/include/uapi/linux/kd.h
+struct console_font_info {
+ unsigned int min_width, min_height; /* minimal font size */
+ unsigned int max_width, max_height; /* maximum font size */
+ unsigned int flags; /* KD_FONT_INFO_FLAG_* */
This does not look like a well-defined™ and extendable uapi structure.
While it won't change anything here, still use fixed-length __u32.
And you should perhaps add some reserved fields. Do not repeat the same
mistakes as your predecessors with the current kd uapi.
I thought about it, but I thought it would be overengineering.
Can you suggest how best to do this?