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: <202210210358.bmpYYvBS-lkp@intel.com>
Date:   Fri, 21 Oct 2022 03:46:24 +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_ipi_imp_v10 11/14]
 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_ipi_imp_v10
head:   64b842bacffd9f939336df401641d7e1dfc82531
commit: d3190a947d8f18f23159ccc4eeb1b6db53fde077 [11/14] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-allnoconfig
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/d3190a947d8f18f23159ccc4eeb1b6db53fde077
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_ipi_imp_v10
        git checkout d3190a947d8f18f23159ccc4eeb1b6db53fde077
        # 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

View attachment "config" of type "text/plain" (27584 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ