All of lore.kernel.org
 help / color / mirror / Atom feed
* [soc:pxa-multiplatform-5.18 48/49] drivers/pcmcia/soc_common.c:786:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations
@ 2022-04-28 21:32 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-28 21:32 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, kbuild-all, linux-arm-kernel, arm

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git pxa-multiplatform-5.18
head:   bafe674c95e7e72094bdbeab22affaf87976929e
commit: 0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc [48/49] ARM: pxa/sa1100: move I/O space to PCI_IOBASE
config: arm-collie_defconfig (https://download.01.org/0day-ci/archive/20220429/202204290508.8lPpo1c3-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c59473aacce38cd7dd77eebceaf3c98c5707ab3b)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc pxa-multiplatform-5.18
        git checkout 0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/pcmcia/

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

All errors (new ones prefixed by >>):

>> drivers/pcmcia/soc_common.c:786:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           pci_unmap_iospace(&skt->res_io_io);
           ^
   drivers/pcmcia/soc_common.c:786:2: note: did you mean 'pci_remap_iospace'?
   arch/arm/include/asm/io.h:186:5: note: 'pci_remap_iospace' declared here
   int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr);
       ^
   arch/arm/include/asm/io.h:185:27: note: expanded from macro 'pci_remap_iospace'
   #define pci_remap_iospace pci_remap_iospace
                             ^
   drivers/pcmcia/soc_common.c:875:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           pci_unmap_iospace(&skt->res_io_io);
           ^
   2 errors generated.


vim +/pci_unmap_iospace +786 drivers/pcmcia/soc_common.c

   780	
   781		soc_pcmcia_hw_shutdown(skt);
   782	
   783		/* should not be required; violates some lowlevel drivers */
   784		soc_common_pcmcia_config_skt(skt, &dead_socket);
   785	
 > 786		pci_unmap_iospace(&skt->res_io_io);
   787		release_resource(&skt->res_attr);
   788		release_resource(&skt->res_mem);
   789		release_resource(&skt->res_io);
   790		release_resource(&skt->res_skt);
   791	}
   792	EXPORT_SYMBOL(soc_pcmcia_remove_one);
   793	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [soc:pxa-multiplatform-5.18 48/49] drivers/pcmcia/soc_common.c:786:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations
@ 2022-04-28 21:32 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-28 21:32 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, kbuild-all, linux-arm-kernel, arm

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git pxa-multiplatform-5.18
head:   bafe674c95e7e72094bdbeab22affaf87976929e
commit: 0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc [48/49] ARM: pxa/sa1100: move I/O space to PCI_IOBASE
config: arm-collie_defconfig (https://download.01.org/0day-ci/archive/20220429/202204290508.8lPpo1c3-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c59473aacce38cd7dd77eebceaf3c98c5707ab3b)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/commit/?id=0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc pxa-multiplatform-5.18
        git checkout 0150d5b2b3fb588a1f95dd12452c0fc4a8ea03fc
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/pcmcia/

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

All errors (new ones prefixed by >>):

>> drivers/pcmcia/soc_common.c:786:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           pci_unmap_iospace(&skt->res_io_io);
           ^
   drivers/pcmcia/soc_common.c:786:2: note: did you mean 'pci_remap_iospace'?
   arch/arm/include/asm/io.h:186:5: note: 'pci_remap_iospace' declared here
   int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr);
       ^
   arch/arm/include/asm/io.h:185:27: note: expanded from macro 'pci_remap_iospace'
   #define pci_remap_iospace pci_remap_iospace
                             ^
   drivers/pcmcia/soc_common.c:875:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           pci_unmap_iospace(&skt->res_io_io);
           ^
   2 errors generated.


vim +/pci_unmap_iospace +786 drivers/pcmcia/soc_common.c

   780	
   781		soc_pcmcia_hw_shutdown(skt);
   782	
   783		/* should not be required; violates some lowlevel drivers */
   784		soc_common_pcmcia_config_skt(skt, &dead_socket);
   785	
 > 786		pci_unmap_iospace(&skt->res_io_io);
   787		release_resource(&skt->res_attr);
   788		release_resource(&skt->res_mem);
   789		release_resource(&skt->res_io);
   790		release_resource(&skt->res_skt);
   791	}
   792	EXPORT_SYMBOL(soc_pcmcia_remove_one);
   793	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-28 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 21:32 [soc:pxa-multiplatform-5.18 48/49] drivers/pcmcia/soc_common.c:786:2: error: call to undeclared function 'pci_unmap_iospace'; ISO C99 and later do not support implicit function declarations kernel test robot
2022-04-28 21:32 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.