tree:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
for-next-sti
head: bb32c6291c6c223ae271580fa629919bee0d8612
commit: 7872f3c499bc4b806c63f1b042cc575c88717692 [1/10] sticore: Save rom font in sti
struct
config: parisc-randconfig-r025-20200920 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7872f3c499bc4b806c63f1b042cc575c88717692
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/video/console/sticore.c: In function 'sti_dump_globcfg':
drivers/video/console/sticore.c:365:27: warning: variable 'cfg' set but not
used [-Wunused-but-set-variable]
365 | struct sti_glob_cfg_ext *cfg;
| ^~~
drivers/video/console/sticore.c: At top level:
drivers/video/console/sticore.c:549:26: warning: 'struct cooked_rom' declared
inside parameter list will not be visible outside of this definition or declaration
549 | sti_select_fbfont(struct cooked_rom *cooked_rom, const char *fbfont_name)
| ^~~~~~~~~~
drivers/video/console/sticore.c: In function 'sti_select_font':
> drivers/video/console/sticore.c:564:36: error: passing argument 1
of 'sti_select_fbfont' from incompatible pointer type
[-Werror=incompatible-pointer-types]
564 | if ((rom_font =
sti_select_fbfont(rom, font_name[index])))
| ^~~
| |
| struct sti_cooked_rom *
drivers/video/console/sticore.c:549:38: note: expected 'struct cooked_rom *'
but argument is of type 'struct sti_cooked_rom *'
549 | sti_select_fbfont(struct cooked_rom *cooked_rom, const char *fbfont_name)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
cc1: some warnings being treated as errors
#
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/c...
git remote add hp-parisc
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
git fetch --no-tags hp-parisc for-next-sti
git checkout 7872f3c499bc4b806c63f1b042cc575c88717692
vim +/sti_select_fbfont +564 drivers/video/console/sticore.c
554
555 static struct sti_rom_font *sti_select_font(struct sti_cooked_rom *rom,
556 int (*search_font_fnc)(struct sti_cooked_rom *, int, int))
557 {
558 struct sti_cooked_font *font;
559 struct sti_rom_font *rom_font;
560 int i;
561 int index = num_sti_roms;
562
563 /* check for framebuffer-font first */
564 if ((rom_font = sti_select_fbfont(rom, font_name[index])))
565 return rom_font;
566
567 if (font_width[index] && font_height[index])
568 font_index[index] = search_font_fnc(rom,
569 font_height[index], font_width[index]);
570
571 for (font = rom->font_start, i = font_index[index];
572 font && (i > 0);
573 font = font->next_font, i--);
574
575 if (font)
576 return font->raw;
577 else
578 return rom->font_start->raw;
579 }
580
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org