Thread (18 messages) 18 messages, 3 authors, 2026-03-02

Re: [PATCH 13/13] lib/fonts: Remove internal symbols and macros from public header file

From: kernel test robot <hidden>
Date: 2026-02-18 21:48:13
Also in: dri-devel, lkml, llvm, oe-kbuild-all

Hi Thomas,

kernel test robot noticed the following build errors:

[auto build test ERROR on 0082025812a31eda451fb14f13f52683ed375c49]

url:    https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/fbdev-Declare-src-parameter-of-fb_pad_-helpers-as-constant/20260218-164243
base:   0082025812a31eda451fb14f13f52683ed375c49
patch link:    https://lore.kernel.org/r/20260218083855.10743-14-tzimmermann%40suse.de
patch subject: [PATCH 13/13] lib/fonts: Remove internal symbols and macros from public header file
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260219/202602190548.KwDrx2RS-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e86750b29fa0ff207cd43213d66dabe565417638)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260219/202602190548.KwDrx2RS-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202602190548.KwDrx2RS-lkp@intel.com/ (local)

All errors (new ones prefixed by >>):
quoted
arch/sparc/kernel/btext.c:195:30: error: use of undeclared identifier 'font_sun_8x16'; did you mean 'font_vga_8x16'?
     195 |         const unsigned char *font       = font_sun_8x16.data + font_index;
         |                                           ^~~~~~~~~~~~~
         |                                           font_vga_8x16
   include/linux/font.h:99:31: note: 'font_vga_8x16' declared here
      99 | extern const struct font_desc font_vga_8x16;
         |                               ^
   1 error generated.


vim +195 arch/sparc/kernel/btext.c

c57ec52f2647e5 David S. Miller        2009-11-27  190  
c57ec52f2647e5 David S. Miller        2009-11-27  191  static void draw_byte(unsigned char c, long locX, long locY)
c57ec52f2647e5 David S. Miller        2009-11-27  192  {
c57ec52f2647e5 David S. Miller        2009-11-27  193  	unsigned char *base	= calc_base(locX << 3, locY << 4);
0f1991949d9bd5 Dr. David Alan Gilbert 2023-08-07  194  	unsigned int font_index = c * 16;
0f1991949d9bd5 Dr. David Alan Gilbert 2023-08-07 @195  	const unsigned char *font	= font_sun_8x16.data + font_index;
c57ec52f2647e5 David S. Miller        2009-11-27  196  	int rb			= dispDeviceRowBytes;
c57ec52f2647e5 David S. Miller        2009-11-27  197  
c57ec52f2647e5 David S. Miller        2009-11-27  198  	switch(dispDeviceDepth) {
c57ec52f2647e5 David S. Miller        2009-11-27  199  	case 24:
c57ec52f2647e5 David S. Miller        2009-11-27  200  	case 32:
c57ec52f2647e5 David S. Miller        2009-11-27  201  		draw_byte_32(font, (unsigned int *)base, rb);
c57ec52f2647e5 David S. Miller        2009-11-27  202  		break;
c57ec52f2647e5 David S. Miller        2009-11-27  203  	case 15:
c57ec52f2647e5 David S. Miller        2009-11-27  204  	case 16:
c57ec52f2647e5 David S. Miller        2009-11-27  205  		draw_byte_16(font, (unsigned int *)base, rb);
c57ec52f2647e5 David S. Miller        2009-11-27  206  		break;
c57ec52f2647e5 David S. Miller        2009-11-27  207  	case 8:
c57ec52f2647e5 David S. Miller        2009-11-27  208  		draw_byte_8(font, (unsigned int *)base, rb);
c57ec52f2647e5 David S. Miller        2009-11-27  209  		break;
c57ec52f2647e5 David S. Miller        2009-11-27  210  	}
c57ec52f2647e5 David S. Miller        2009-11-27  211  }
c57ec52f2647e5 David S. Miller        2009-11-27  212  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help