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>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 7 Dec 2016 02:41:21 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Prarit Bhargava <prarit@...hat.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Prarit Bhargava <prarit@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Rui Wang <rui.y.wang@...el.com>,
        Paul Gortmaker <paul.gortmaker@...driver.com>,
        Denys Vlasenko <dvlasenk@...hat.com>,
        Borislav Petkov <bp@...e.de>, Aaron Lu <aaron.lu@...el.com>
Subject: Re: [PATCH] x86/irq: Add additional unhandled IRQ debug information

Hi Prarit,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.9-rc8 next-20161206]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Prarit-Bhargava/x86-irq-Add-additional-unhandled-IRQ-debug-information/20161207-022400
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from arch/x86/kernel/irq.c:16:0:
>> arch/x86/include/asm/io_apic.h:207:15: warning: return type defaults to 'int' [-Wreturn-type]
    static inline print_IRQ_to_pin_mapping(unsigned int irq) {}
                  ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/kobject.h:29:0,
                    from include/linux/device.h:17,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from arch/x86/kernel/irq.c:4:
   arch/x86/kernel/irq.c: In function 'arch_irq_debug':
>> arch/x86/kernel/irq.c:584:13: error: 'x86_unhandled_irq_work' undeclared (first use in this function)
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
                ^
   include/linux/workqueue.h:216:16: note: in definition of macro '__INIT_WORK'
      __init_work((_work), _onstack);    \
                   ^~~~~
   arch/x86/kernel/irq.c:584:2: note: in expansion of macro 'INIT_WORK'
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
     ^~~~~~~~~
   arch/x86/kernel/irq.c:584:13: note: each undeclared identifier is reported only once for each function it appears in
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
                ^
   include/linux/workqueue.h:216:16: note: in definition of macro '__INIT_WORK'
      __init_work((_work), _onstack);    \
                   ^~~~~
   arch/x86/kernel/irq.c:584:2: note: in expansion of macro 'INIT_WORK'
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
     ^~~~~~~~~
>> arch/x86/kernel/irq.c:584:37: error: 'x86_unhandled_irq_work_fn' undeclared (first use in this function)
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
                                        ^
   include/linux/workqueue.h:219:20: note: in definition of macro '__INIT_WORK'
      (_work)->func = (_func);    \
                       ^~~~~
   arch/x86/kernel/irq.c:584:2: note: in expansion of macro 'INIT_WORK'
     INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
     ^~~~~~~~~
   arch/x86/kernel/irq.c:579:6: warning: unused variable 'reg' [-Wunused-variable]
     u32 reg;
         ^~~
   arch/x86/kernel/irq.c:578:11: warning: unused variable 'bit' [-Wunused-variable]
     int irr, bit;
              ^~~
   arch/x86/kernel/irq.c:578:6: warning: unused variable 'irr' [-Wunused-variable]
     int irr, bit;
         ^~~
--
   In file included from arch/x86/kernel/setup.c:85:0:
>> arch/x86/include/asm/io_apic.h:207:15: warning: return type defaults to 'int' [-Wreturn-type]
    static inline print_IRQ_to_pin_mapping(unsigned int irq) {}
                  ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/x86_unhandled_irq_work +584 arch/x86/kernel/irq.c

   578		int irr, bit;
   579		u32 reg;
   580	
   581		pr_emerg("Additional x86 information on IRQ #%d ...\n", irq);
   582	
   583		/* PCI information cannot be dumped in interrupt context */
 > 584		INIT_WORK(&x86_unhandled_irq_work, x86_unhandled_irq_work_fn);
   585		schedule_work_on(smp_processor_id(), &x86_unhandled_irq_work);
   586	
   587	#ifdef CONFIG_X86_IO_APIC

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (6363 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ