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]
Message-ID: <202208302216.JZekZCma-lkp@intel.com>
Date:   Tue, 30 Aug 2022 22:42:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Anup Patel <apatel@...tanamicro.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_sbi_dbcn_v1 15/42]
 drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops'
 has no member named 'alloc'

tree:   https://github.com/avpatel/linux.git riscv_sbi_dbcn_v1
head:   74814d446b33fc095867181d8953a92ede0b042c
commit: 17f1dcd006f4ae2d52bb463151339b6af6ff7d08 [15/42] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220830/202208302216.JZekZCma-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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/avpatel/linux/commit/17f1dcd006f4ae2d52bb463151339b6af6ff7d08
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_sbi_dbcn_v1
        git checkout 17f1dcd006f4ae2d52bb463151339b6af6ff7d08
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/irqchip/

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

All errors (new ones prefixed by >>):

>> drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
      90 |         .alloc  = riscv_intc_domain_alloc
         |          ^~~~~
   drivers/irqchip/irq-riscv-intc.c:90:19: warning: excess elements in struct initializer
      90 |         .alloc  = riscv_intc_domain_alloc
         |                   ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-riscv-intc.c:90:19: note: (near initialization for 'riscv_intc_domain_ops')


vim +90 drivers/irqchip/irq-riscv-intc.c

    86	
    87	static const struct irq_domain_ops riscv_intc_domain_ops = {
    88		.map	= riscv_intc_domain_map,
    89		.xlate	= irq_domain_xlate_onecell,
  > 90		.alloc	= riscv_intc_domain_alloc
    91	};
    92	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ