[linusw-gpio:b4/spitz 4/4] include/linux/spi/pxa2xx_spi.h:53:52: warning: declaration of 'struct property_entry' will not be visible outside of this function

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git b4/spitz
head:   40c9c2538a37054ef2a1c56f3a41e64ba82cd6aa
commit: 40c9c2538a37054ef2a1c56f3a41e64ba82cd6aa [4/4] ARM: spitz: Use software nodes for the ADS7846 touchscreen
config: arm-randconfig-003-20240428 (https://download.01.org/0day-ci/archive/20240428/202404281554.eIxXrnLs-lkp@xxxxxxxxx/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 5ef5eb66fb428aaf61fb51b709f065c069c11242)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240428/202404281554.eIxXrnLs-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404281554.eIxXrnLs-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/spi/spi-pxa2xx-dma.c:10:
   In file included from include/linux/dma-mapping.h:11:
   In file included from include/linux/scatterlist.h:8:
   In file included from include/linux/mm.h:2208:
   include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   In file included from drivers/spi/spi-pxa2xx-dma.c:15:
>> include/linux/spi/pxa2xx_spi.h:53:52: warning: declaration of 'struct property_entry' will not be visible outside of this function [-Wvisibility]
      53 | void pxa2xx_set_spi_node(unsigned id, const struct property_entry *props);
         |                                                    ^
   2 warnings generated.


vim +53 include/linux/spi/pxa2xx_spi.h

    51	
    52	extern void pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_controller *info);
  > 53	void pxa2xx_set_spi_node(unsigned id, const struct property_entry *props);
    54	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux