linux/drivers/video/console
Arnd Bergmann d3ea050c15 dummycon: fix default rows/cols
[ Upstream commit beefaba197 ]

dummycon fails to build on ARM/footbridge when the VGA console is
disabled, since I got the dependencies slightly wrong in a previous
patch:

drivers/video/console/dummycon.c: In function 'dummycon_init':
drivers/video/console/dummycon.c:27:25: error: 'CONFIG_DUMMY_CONSOLE_COLUMNS' undeclared (first use in this function); did you mean 'CONFIG_DUMMY_CONSOLE'?
   27 | #define DUMMY_COLUMNS   CONFIG_DUMMY_CONSOLE_COLUMNS
drivers/video/console/dummycon.c:28:25: error: 'CONFIG_DUMMY_CONSOLE_ROWS' undeclared (first use in this function); did you mean 'CONFIG_DUMMY_CONSOLE'?
   28 | #define DUMMY_ROWS      CONFIG_DUMMY_CONSOLE_ROWS

This only showed up after many thousand randconfig builds on Arm, and
doesn't matter in practice, but should still be fixed. Address it by
using the default row/columns on footbridge after all in that corner
case.

Fixes: 4293b09251 ("dummycon: limit Arm console size hack to footbridge")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409151512.LML1slol-lkp@intel.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-04-10 14:39:16 +02:00
..
dummycon.c tty: vt: make types around consw::con_blank() bool 2024-01-27 18:08:54 -08:00
Kconfig dummycon: fix default rows/cols 2025-04-10 14:39:16 +02:00
Makefile video: Move HP PARISC STI core code to shared location 2023-04-20 10:04:51 +02:00
mdacon.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
newport_con.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
sticon.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00
vgacon.c video: console: add missing MODULE_DESCRIPTION() macros 2024-06-22 09:52:36 +02:00