[PATCH] arm: pxa: remove dead and obsolete IrDA initialization

kernel test robot lkp at intel.com
Thu Dec 30 11:27:23 PST 2021


Hi Lukas,

I love your patch! Yet something to improve:

[auto build test ERROR on soc/for-next]
[also build test ERROR on arm/for-next linus/master v5.16-rc7 next-20211224]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Lukas-Bulwahn/arm-pxa-remove-dead-and-obsolete-IrDA-initialization/20211230-025045
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm-pxa_defconfig (https://download.01.org/0day-ci/archive/20211231/202112310355.45rFu4Q6-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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
        # https://github.com/0day-ci/linux/commit/6f71d3b32457eecd17d8e4abec5584d0c0c60ce4
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Lukas-Bulwahn/arm-pxa-remove-dead-and-obsolete-IrDA-initialization/20211230-025045
        git checkout 6f71d3b32457eecd17d8e4abec5584d0c0c60ce4
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   arch/arm/mach-pxa/palmte2.c: In function 'palmte2_init':
>> arch/arm/mach-pxa/palmte2.c:358:9: error: implicit declaration of function 'pxa_set_ficp_info'; did you mean 'pxa_set_i2c_info'? [-Werror=implicit-function-declaration]
     358 |         pxa_set_ficp_info(&palmte2_ficp_platform_data);
         |         ^~~~~~~~~~~~~~~~~
         |         pxa_set_i2c_info
>> arch/arm/mach-pxa/palmte2.c:358:28: error: 'palmte2_ficp_platform_data' undeclared (first use in this function); did you mean 'palmte2_mci_platform_data'?
     358 |         pxa_set_ficp_info(&palmte2_ficp_platform_data);
         |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |                            palmte2_mci_platform_data
   arch/arm/mach-pxa/palmte2.c:358:28: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors


vim +358 arch/arm/mach-pxa/palmte2.c

8c8aa5fa3060ab Marek Vasut              2009-03-24  344  
54088bf50f31e5 Marek Vasut              2009-03-24  345  static void __init palmte2_init(void)
54088bf50f31e5 Marek Vasut              2009-03-24  346  {
54088bf50f31e5 Marek Vasut              2009-03-24  347  	pxa2xx_mfp_config(ARRAY_AND_SIZE(palmte2_pin_config));
54088bf50f31e5 Marek Vasut              2009-03-24  348  
cc155c6f2cc705 Russell King             2009-11-09  349  	pxa_set_ffuart_info(NULL);
cc155c6f2cc705 Russell King             2009-11-09  350  	pxa_set_btuart_info(NULL);
cc155c6f2cc705 Russell King             2009-11-09  351  	pxa_set_stuart_info(NULL);
cc155c6f2cc705 Russell King             2009-11-09  352  
4321e1a12b811c Russell King - ARM Linux 2011-02-15  353  	pxa_set_fb_info(NULL, &palmte2_lcd_screen);
32d1544880aa87 Linus Walleij            2018-12-02  354  	gpiod_add_lookup_table(&palmte2_mci_gpio_table);
54088bf50f31e5 Marek Vasut              2009-03-24  355  	pxa_set_mci_info(&palmte2_mci_platform_data);
8c8aa5fa3060ab Marek Vasut              2009-03-24  356  	palmte2_udc_init();
241cf473114fed Marek Vasut              2010-06-04  357  	pxa_set_ac97_info(&palmte2_ac97_pdata);
8c8aa5fa3060ab Marek Vasut              2009-03-24 @358  	pxa_set_ficp_info(&palmte2_ficp_platform_data);
54088bf50f31e5 Marek Vasut              2009-03-24  359  
f5a3b55287dd57 Thierry Reding           2015-10-05  360  	pwm_add_table(palmte2_pwm_lookup, ARRAY_SIZE(palmte2_pwm_lookup));
fdabc466f335bc Linus Walleij            2020-01-23  361  	gpiod_add_lookup_table(&palmte2_udc_gpiod_table);
54088bf50f31e5 Marek Vasut              2009-03-24  362  	platform_add_devices(devices, ARRAY_SIZE(devices));
54088bf50f31e5 Marek Vasut              2009-03-24  363  }
54088bf50f31e5 Marek Vasut              2009-03-24  364  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



More information about the linux-arm-kernel mailing list