lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 24 Feb 2022 11:32:11 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 1978/2340] arch/mips/lantiq/prom.c:70:9:
 error: 'ioport_resource' undeclared

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   97c5eeb4de3ad324ed2a4656b46465299cfd010a
commit: 5127da32c5398fee63cfadc941be700540249cf9 [1978/2340] headers/deps: dev/core: Optimize <linux/device.h> dependencies, remove <linux/device_api.h> inclusion
config: mips-xway_defconfig (https://download.01.org/0day-ci/archive/20220224/202202241142.i6djmjny-lkp@intel.com/config)
compiler: mips-linux-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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=5127da32c5398fee63cfadc941be700540249cf9
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 5127da32c5398fee63cfadc941be700540249cf9
        # 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=mips SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   arch/mips/lantiq/prom.c: In function 'plat_mem_setup':
>> arch/mips/lantiq/prom.c:70:9: error: 'ioport_resource' undeclared (first use in this function)
      70 |         ioport_resource.start = IOPORT_RESOURCE_START;
         |         ^~~~~~~~~~~~~~~
   arch/mips/lantiq/prom.c:70:9: note: each undeclared identifier is reported only once for each function it appears in
>> arch/mips/lantiq/prom.c:72:9: error: 'iomem_resource' undeclared (first use in this function)
      72 |         iomem_resource.start = IOMEM_RESOURCE_START;
         |         ^~~~~~~~~~~~~~


vim +/ioport_resource +70 arch/mips/lantiq/prom.c

171bb2f19ed6f3 John Crispin        2011-03-30  65  
a0392222d9a374 John Crispin        2012-04-13  66  void __init plat_mem_setup(void)
171bb2f19ed6f3 John Crispin        2011-03-30  67  {
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  68  	void *dtb;
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  69  
a0392222d9a374 John Crispin        2012-04-13 @70  	ioport_resource.start = IOPORT_RESOURCE_START;
a0392222d9a374 John Crispin        2012-04-13  71  	ioport_resource.end = IOPORT_RESOURCE_END;
a0392222d9a374 John Crispin        2012-04-13 @72  	iomem_resource.start = IOMEM_RESOURCE_START;
a0392222d9a374 John Crispin        2012-04-13  73  	iomem_resource.end = IOMEM_RESOURCE_END;
a0392222d9a374 John Crispin        2012-04-13  74  
a0392222d9a374 John Crispin        2012-04-13  75  	set_io_port_base((unsigned long) KSEG1);
a0392222d9a374 John Crispin        2012-04-13  76  
b83ba0b9df56f8 Thomas Bogendoerfer 2021-01-27  77  	dtb = get_fdt();
b83ba0b9df56f8 Thomas Bogendoerfer 2021-01-27  78  	if (dtb == NULL)
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  79  		panic("no dtb found");
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  80  
a0392222d9a374 John Crispin        2012-04-13  81  	/*
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  82  	 * Load the devicetree. This causes the chosen node to be
a0392222d9a374 John Crispin        2012-04-13  83  	 * parsed resulting in our memory appearing
a0392222d9a374 John Crispin        2012-04-13  84  	 */
84f47cf49e3c83 Hauke Mehrtens      2016-03-19  85  	__dt_setup_arch(dtb);
a0392222d9a374 John Crispin        2012-04-13  86  }
171bb2f19ed6f3 John Crispin        2011-03-30  87  

:::::: The code at line 70 was first introduced by commit
:::::: a0392222d9a374588803454c4d2211108c64d4e4 OF: MIPS: lantiq: implement OF support

:::::: TO: John Crispin <blogic@...nwrt.org>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ