From: kernel test robot <lkp@intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>,
gregkh@linuxfoundation.org, deller@gmx.de, sam@ravnborg.org
Cc: oe-kbuild-all@lists.linux.dev, linux-fbdev@vger.kernel.org,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH 13/13] lib/fonts: Remove internal symbols and macros from public header file
Date: Thu, 19 Feb 2026 10:08:49 +0800 [thread overview]
Message-ID: <202602191044.XKx5ACdn-lkp@intel.com> (raw)
In-Reply-To: <20260218083855.10743-14-tzimmermann@suse.de>
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: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260219/202602191044.XKx5ACdn-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260219/202602191044.XKx5ACdn-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602191044.XKx5ACdn-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/kernel/btext.c:23:
arch/powerpc/kernel/btext.c: In function 'draw_byte':
>> arch/powerpc/kernel/btext.c:467:46: error: 'font_sun_8x16' undeclared (first use in this function); did you mean 'font_vga_8x16'?
467 | const unsigned char *font = PTRRELOC(font_sun_8x16.data) + font_index;
| ^~~~~~~~~~~~~
arch/powerpc/include/asm/setup.h:19:34: note: in definition of macro 'PTRRELOC'
19 | #define PTRRELOC(x) ((typeof(x)) add_reloc_offset((unsigned long)(x)))
| ^
arch/powerpc/kernel/btext.c:467:46: note: each undeclared identifier is reported only once for each function it appears in
467 | const unsigned char *font = PTRRELOC(font_sun_8x16.data) + font_index;
| ^~~~~~~~~~~~~
arch/powerpc/include/asm/setup.h:19:34: note: in definition of macro 'PTRRELOC'
19 | #define PTRRELOC(x) ((typeof(x)) add_reloc_offset((unsigned long)(x)))
| ^
vim +467 arch/powerpc/kernel/btext.c
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 462
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 463 static noinline void draw_byte(unsigned char c, long locX, long locY)
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 464 {
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 465 unsigned char *base = calc_base(locX << 3, locY << 4);
0ebc7feae79ac0 Dr. David Alan Gilbert 2023-08-25 466 unsigned int font_index = c * 16;
b94b7356756164 Finn Thain 2025-11-10 @467 const unsigned char *font = PTRRELOC(font_sun_8x16.data) + font_index;
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 468 int rb = dispDeviceRowBytes;
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 469
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 470 rmci_maybe_on();
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 471 switch(dispDeviceDepth) {
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 472 case 24:
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 473 case 32:
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 474 draw_byte_32(font, (unsigned int *)base, rb);
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 475 break;
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 476 case 15:
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 477 case 16:
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 478 draw_byte_16(font, (unsigned int *)base, rb);
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 479 break;
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 480 case 8:
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 481 draw_byte_8(font, (unsigned int *)base, rb);
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 482 break;
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 483 }
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 484 rmci_maybe_off();
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 485 }
7191b615759ec1 Benjamin Herrenschmidt 2013-07-25 486
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-19 2:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-18 8:15 [PATCH 00/13] vc,fbcon,fonts: Proper handling of font data Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 01/13] fbdev: Declare src parameter of fb_pad_ helpers as constant Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 02/13] vt: Remove trailing whitespaces Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 03/13] vt: Store font in struct vc_font Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 04/13] vt: Calculate font-buffer size with vc_font_size() Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 05/13] lib/fonts: Remove trailing whitespaces Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 06/13] lib/fonts: Remove FNTCHARCNT() Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 07/13] lib/fonts: Store font data as font_data_t; update consoles Thomas Zimmermann
2026-02-18 8:15 ` [PATCH 08/13] lib/fonts: Read font size with font_data_size() Thomas Zimmermann
2026-02-18 8:16 ` [PATCH 09/13] lib/fonts: Compare font data for equality with font_data_is_equal() Thomas Zimmermann
2026-02-18 8:16 ` [PATCH 10/13] lib/fonts: Manage font-data lifetime with font_data_get/_put() Thomas Zimmermann
2026-02-18 8:16 ` [PATCH 11/13] lib/fonts: Create font_data_t from struct console_font with font_data_import() Thomas Zimmermann
2026-02-18 8:16 ` [PATCH 12/13] lib/fonts: Store font data for user space with font_data_export() Thomas Zimmermann
2026-02-18 8:16 ` [PATCH 13/13] lib/fonts: Remove internal symbols and macros from public header file Thomas Zimmermann
2026-02-18 21:47 ` kernel test robot
2026-02-19 2:08 ` kernel test robot [this message]
2026-02-23 15:05 ` Helge Deller
2026-03-02 13:45 ` Thomas Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602191044.XKx5ACdn-lkp@intel.com \
--to=lkp@intel.com \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sam@ravnborg.org \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox