[wsa:i2c/pxa-header-move 1/2] arch/arm/mach-pxa/devices.h:22:46: warning: 'struct i2c_pxa_platform_data' declared inside parameter list will not be visible outside of this definition or declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/pxa-header-move
head:   d6174521f041fa3db5fcdf9c1a9b0b006b3ba2b5
commit: 641987fde8fc7f3b950fef788f0a31060ec2e35d [1/2] ARM: pxa: move declarations to proper place
config: arm-palmz72_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 641987fde8fc7f3b950fef788f0a31060ec2e35d
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   In file included from arch/arm/mach-pxa/pxa25x.c:41:0:
>> arch/arm/mach-pxa/devices.h:22:46: warning: 'struct i2c_pxa_platform_data' declared inside parameter list will not be visible outside of this definition or declaration
    extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
                                                 ^~~~~~~~~~~~~~~~~~~~~
   arch/arm/mach-pxa/devices.h:64:37: warning: 'struct i2c_pxa_platform_data' declared inside parameter list will not be visible outside of this definition or declaration
    extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
                                        ^~~~~~~~~~~~~~~~~~~~~

vim +22 arch/arm/mach-pxa/devices.h

    19	
    20	extern struct platform_device pxa27x_device_i2c_power;
    21	#ifdef CONFIG_PXA27x
  > 22	extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
    23	#endif
    24	extern struct platform_device pxa27x_device_ohci;
    25	extern struct platform_device pxa27x_device_keypad;
    26	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux