tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: bf8fd3c80f466d63067fd6a6f31ef0fbb332c20c
commit: 444af40fdc3639563d3eeddd0ac50448c273102f [61/76] tty: vt, con_getxy works with u16
*
config: parisc-defconfig (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 444af40fdc3639563d3eeddd0ac50448c273102f
# 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 >>, old ones prefixed by <<):
> drivers/video/console/sticon.c:341:16: error: initialization of
'u16 * (*)(struct vc_data *, long unsigned int, int *, int *)' {aka 'short
unsigned int * (*)(struct vc_data *, long unsigned int, int *, int *)'} from
incompatible pointer type 'u16 * (*)(struct vc_data *, u16 *, int *, int *)' {aka
'short unsigned int * (*)(struct vc_data *, short unsigned int *, int *, int *)'}
[-Werror=incompatible-pointer-types]
341 | .con_getxy = sticon_getxy,
| ^~~~~~~~~~~~
drivers/video/console/sticon.c:341:16: note: (near initialization for
'sti_con.con_getxy')
cc1: some warnings being treated as errors
vim +341 drivers/video/console/sticon.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 323
d95159cf1b12e8 Helge Deller 2006-12-08 324 static const struct consw sti_con = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 325 .owner = THIS_MODULE,
^1da177e4c3f41 Linus Torvalds 2005-04-16 326 .con_startup = sticon_startup,
^1da177e4c3f41 Linus Torvalds 2005-04-16 327 .con_init = sticon_init,
^1da177e4c3f41 Linus Torvalds 2005-04-16 328 .con_deinit = sticon_deinit,
^1da177e4c3f41 Linus Torvalds 2005-04-16 329 .con_clear = sticon_clear,
^1da177e4c3f41 Linus Torvalds 2005-04-16 330 .con_putc = sticon_putc,
^1da177e4c3f41 Linus Torvalds 2005-04-16 331 .con_putcs = sticon_putcs,
^1da177e4c3f41 Linus Torvalds 2005-04-16 332 .con_cursor = sticon_cursor,
^1da177e4c3f41 Linus Torvalds 2005-04-16 333 .con_scroll = sticon_scroll,
^1da177e4c3f41 Linus Torvalds 2005-04-16 334 .con_switch = sticon_switch,
^1da177e4c3f41 Linus Torvalds 2005-04-16 335 .con_blank = sticon_blank,
^1da177e4c3f41 Linus Torvalds 2005-04-16 336 .con_set_origin = sticon_set_origin,
^1da177e4c3f41 Linus Torvalds 2005-04-16 337 .con_save_screen = sticon_save_screen,
^1da177e4c3f41 Linus Torvalds 2005-04-16 338 .con_build_attr = sticon_build_attr,
^1da177e4c3f41 Linus Torvalds 2005-04-16 339 .con_invert_region = sticon_invert_region,
^1da177e4c3f41 Linus Torvalds 2005-04-16 340 .con_screen_pos = sticon_screen_pos,
^1da177e4c3f41 Linus Torvalds 2005-04-16 @341 .con_getxy = sticon_getxy,
^1da177e4c3f41 Linus Torvalds 2005-04-16 342 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 343
^1da177e4c3f41 Linus Torvalds 2005-04-16 344
^1da177e4c3f41 Linus Torvalds 2005-04-16 345
:::::: The code at line 341 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org