All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mark:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:1: error: function declaration isn't a prototype
Date: Wed, 29 Sep 2021 22:00:41 +0800	[thread overview]
Message-ID: <202109292238.CuC4JJ5j-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3591 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git fuzzing/5.10-rc7
head:   83abdaa512626051c6eecd7c1dfb41fb061ebcb9
commit: 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7 [1/4] lockdep: report broken irq restoration
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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/mark/linux.git/commit/?id=61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark fuzzing/5.10-rc7
        git checkout 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 prepare

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 >>):

   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
   scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' 'arch/ia64/kernel/mca_recovery.ko' 'arch/ia64/kernel/err_inject.ko' will not be built even though obj-m is specified.
   scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
   In file included from include/linux/rcupdate.h:26,
   from include/linux/rculist.h:11,
   from include/linux/sched/signal.h:5,
   from arch/ia64/kernel/asm-offsets.c:10:
>> include/linux/irqflags.h:224:1: error: function declaration isn't a prototype
   224 | extern void warn_bogus_irq_restore();
   | ^~~~~~
   arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo'
   23 | void foo(void)
   | ^~~
   cc1: some warnings being treated as errors
   Makefile arch include kernel nr_bisected scripts source usr [scripts/Makefile.build:117: arch/ia64/kernel/asm-offsets.s] Error 1
   Target '__build' not remade because of errors.
   Makefile arch include kernel nr_bisected scripts source usr [Makefile:1206: prepare0] Error 2
   Target 'prepare' not remade because of errors.
   make: Makefile arch include kernel nr_bisected scripts source usr [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


vim +224 include/linux/irqflags.h

   222	
   223	#ifdef CONFIG_DEBUG_IRQFLAGS
 > 224	extern void warn_bogus_irq_restore();
   225	#define check_bogus_irq_restore()			\
   226		do {						\
   227			if (unlikely(!raw_irqs_disabled()))	\
   228				warn_bogus_irq_restore();	\
   229		} while (0)
   230	#else
   231	#define check_bogus_irq_restore() do { } while (0)
   232	#endif
   233	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62662 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mark:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:1: error: function declaration isn't a prototype
Date: Wed, 29 Sep 2021 22:00:41 +0800	[thread overview]
Message-ID: <202109292238.CuC4JJ5j-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3663 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git fuzzing/5.10-rc7
head:   83abdaa512626051c6eecd7c1dfb41fb061ebcb9
commit: 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7 [1/4] lockdep: report broken irq restoration
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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/mark/linux.git/commit/?id=61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark fuzzing/5.10-rc7
        git checkout 61336e25d1415a4ac3aaf8cf75105c2ec2eb95e7
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 prepare

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 >>):

   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
   scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' 'arch/ia64/kernel/mca_recovery.ko' 'arch/ia64/kernel/err_inject.ko' will not be built even though obj-m is specified.
   scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
   In file included from include/linux/rcupdate.h:26,
   from include/linux/rculist.h:11,
   from include/linux/sched/signal.h:5,
   from arch/ia64/kernel/asm-offsets.c:10:
>> include/linux/irqflags.h:224:1: error: function declaration isn't a prototype
   224 | extern void warn_bogus_irq_restore();
   | ^~~~~~
   arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo'
   23 | void foo(void)
   | ^~~
   cc1: some warnings being treated as errors
   Makefile arch include kernel nr_bisected scripts source usr [scripts/Makefile.build:117: arch/ia64/kernel/asm-offsets.s] Error 1
   Target '__build' not remade because of errors.
   Makefile arch include kernel nr_bisected scripts source usr [Makefile:1206: prepare0] Error 2
   Target 'prepare' not remade because of errors.
   make: Makefile arch include kernel nr_bisected scripts source usr [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for FRAME_POINTER
   Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
   Selected by
   - FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86


vim +224 include/linux/irqflags.h

   222	
   223	#ifdef CONFIG_DEBUG_IRQFLAGS
 > 224	extern void warn_bogus_irq_restore();
   225	#define check_bogus_irq_restore()			\
   226		do {						\
   227			if (unlikely(!raw_irqs_disabled()))	\
   228				warn_bogus_irq_restore();	\
   229		} while (0)
   230	#else
   231	#define check_bogus_irq_restore() do { } while (0)
   232	#endif
   233	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 62662 bytes --]

             reply	other threads:[~2021-09-29 14:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 14:00 kernel test robot [this message]
2021-09-29 14:00 ` [mark:fuzzing/5.10-rc7 1/4] include/linux/irqflags.h:224:1: error: function declaration isn't a prototype kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109292238.CuC4JJ5j-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.