From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-stable-rc:linux-4.19.y 2397/4040] arch/powerpc/kernel/traps.c:1341:5: error: no previous prototype for 'is_valid_bugaddr'
Date: Wed, 11 Aug 2021 15:43:44 +0800 [thread overview]
Message-ID: <202108111525.JIeHHZP2-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6292 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 5a3ba2f90f8789162a03e07a37224bab4c643d1d
commit: 57ac40ee09cea2ec90f71c6f49b15d0d82667b38 [2397/4040] powerpc: Drop -me200 addition to build flags
config: powerpc-randconfig-r004-20210810 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.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/stable/linux-stable-rc.git/commit/?id=57ac40ee09cea2ec90f71c6f49b15d0d82667b38
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout 57ac40ee09cea2ec90f71c6f49b15d0d82667b38
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=powerpc
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 >>):
>> arch/powerpc/kernel/traps.c:1341:5: error: no previous prototype for 'is_valid_bugaddr' [-Werror=missing-prototypes]
1341 | int is_valid_bugaddr(unsigned long addr)
| ^~~~~~~~~~~~~~~~
arch/powerpc/kernel/traps.c:1880:6: error: no previous prototype for 'DebugException' [-Werror=missing-prototypes]
1880 | void DebugException(struct pt_regs *regs, unsigned long debug_status)
| ^~~~~~~~~~~~~~
arch/powerpc/kernel/traps.c:1993:6: error: no previous prototype for 'CacheLockingException' [-Werror=missing-prototypes]
1993 | void CacheLockingException(struct pt_regs *regs, unsigned long address,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
arch/powerpc/kernel/smp.c:445:5: error: no previous prototype for '__smp_send_nmi_ipi' [-Werror=missing-prototypes]
445 | int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us, bool safe)
| ^~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/smp.c:521:6: error: no previous prototype for 'tick_broadcast' [-Werror=missing-prototypes]
521 | void tick_broadcast(const struct cpumask *mask)
| ^~~~~~~~~~~~~~
>> arch/powerpc/kernel/smp.c:531:6: error: no previous prototype for 'debugger_ipi_callback' [-Werror=missing-prototypes]
531 | void debugger_ipi_callback(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> arch/powerpc/mm/fsl_booke_mmu.c:70:15: error: no previous prototype for 'tlbcam_sz' [-Werror=missing-prototypes]
70 | unsigned long tlbcam_sz(int idx)
| ^~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from arch/powerpc/xmon/xmon.c:67:
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc':
arch/powerpc/xmon/dis-asm.h:20:13: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Werror=format=]
20 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu':
arch/powerpc/xmon/dis-asm.h:26:13: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Werror=format=]
26 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/xmon.c: In function 'xmon_print_symbol':
>> arch/powerpc/xmon/xmon.c:3425:14: error: variable 'name' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
3425 | const char *name = NULL;
| ^~~~
arch/powerpc/xmon/xmon.c: In function 'show_tasks':
>> arch/powerpc/xmon/xmon.c:3107:22: error: variable 'tsk' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
3107 | struct task_struct *tsk = NULL;
| ^~~
arch/powerpc/xmon/xmon.c: In function 'xmon_core':
>> arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
800 | struct bpt *bp;
| ^~
>> arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
>> arch/powerpc/xmon/xmon.c:454:48: error: argument 'fromipi' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
454 | static int xmon_core(struct pt_regs *regs, int fromipi)
| ~~~~^~~~~~~
cc1: all warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
WARNING: unmet direct dependencies detected for FSL_EMB_PERFMON
Depends on E500 || PPC_83xx
Selected by
- PPC_FSL_BOOK3E
vim +/is_valid_bugaddr +1341 arch/powerpc/kernel/traps.c
14cf11af6cf608 Paul Mackerras 2005-09-26 1340
73c9ceab40b126 Jeremy Fitzhardinge 2006-12-08 @1341 int is_valid_bugaddr(unsigned long addr)
14cf11af6cf608 Paul Mackerras 2005-09-26 1342 {
73c9ceab40b126 Jeremy Fitzhardinge 2006-12-08 1343 return is_kernel_addr(addr);
14cf11af6cf608 Paul Mackerras 2005-09-26 1344 }
14cf11af6cf608 Paul Mackerras 2005-09-26 1345
:::::: The code at line 1341 was first introduced by commit
:::::: 73c9ceab40b1269d6195e556773167c078ac8311 [POWERPC] Generic BUG for powerpc
:::::: TO: Jeremy Fitzhardinge <jeremy@goop.org>
:::::: CC: Paul Mackerras <paulus@samba.org>
---
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: 23545 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Sasha Levin <sashal@kernel.org>
Subject: [linux-stable-rc:linux-4.19.y 2397/4040] arch/powerpc/kernel/traps.c:1341:5: error: no previous prototype for 'is_valid_bugaddr'
Date: Wed, 11 Aug 2021 15:43:44 +0800 [thread overview]
Message-ID: <202108111525.JIeHHZP2-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6179 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 5a3ba2f90f8789162a03e07a37224bab4c643d1d
commit: 57ac40ee09cea2ec90f71c6f49b15d0d82667b38 [2397/4040] powerpc: Drop -me200 addition to build flags
config: powerpc-randconfig-r004-20210810 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.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/stable/linux-stable-rc.git/commit/?id=57ac40ee09cea2ec90f71c6f49b15d0d82667b38
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout 57ac40ee09cea2ec90f71c6f49b15d0d82667b38
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=powerpc
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 >>):
>> arch/powerpc/kernel/traps.c:1341:5: error: no previous prototype for 'is_valid_bugaddr' [-Werror=missing-prototypes]
1341 | int is_valid_bugaddr(unsigned long addr)
| ^~~~~~~~~~~~~~~~
arch/powerpc/kernel/traps.c:1880:6: error: no previous prototype for 'DebugException' [-Werror=missing-prototypes]
1880 | void DebugException(struct pt_regs *regs, unsigned long debug_status)
| ^~~~~~~~~~~~~~
arch/powerpc/kernel/traps.c:1993:6: error: no previous prototype for 'CacheLockingException' [-Werror=missing-prototypes]
1993 | void CacheLockingException(struct pt_regs *regs, unsigned long address,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
arch/powerpc/kernel/smp.c:445:5: error: no previous prototype for '__smp_send_nmi_ipi' [-Werror=missing-prototypes]
445 | int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us, bool safe)
| ^~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/smp.c:521:6: error: no previous prototype for 'tick_broadcast' [-Werror=missing-prototypes]
521 | void tick_broadcast(const struct cpumask *mask)
| ^~~~~~~~~~~~~~
>> arch/powerpc/kernel/smp.c:531:6: error: no previous prototype for 'debugger_ipi_callback' [-Werror=missing-prototypes]
531 | void debugger_ipi_callback(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
>> arch/powerpc/mm/fsl_booke_mmu.c:70:15: error: no previous prototype for 'tlbcam_sz' [-Werror=missing-prototypes]
70 | unsigned long tlbcam_sz(int idx)
| ^~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from arch/powerpc/xmon/xmon.c:67:
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc':
arch/powerpc/xmon/dis-asm.h:20:13: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Werror=format=]
20 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu':
arch/powerpc/xmon/dis-asm.h:26:13: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Werror=format=]
26 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/xmon.c: In function 'xmon_print_symbol':
>> arch/powerpc/xmon/xmon.c:3425:14: error: variable 'name' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
3425 | const char *name = NULL;
| ^~~~
arch/powerpc/xmon/xmon.c: In function 'show_tasks':
>> arch/powerpc/xmon/xmon.c:3107:22: error: variable 'tsk' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
3107 | struct task_struct *tsk = NULL;
| ^~~
arch/powerpc/xmon/xmon.c: In function 'xmon_core':
>> arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
800 | struct bpt *bp;
| ^~
>> arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
>> arch/powerpc/xmon/xmon.c:454:48: error: argument 'fromipi' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
454 | static int xmon_core(struct pt_regs *regs, int fromipi)
| ~~~~^~~~~~~
cc1: all warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
WARNING: unmet direct dependencies detected for FSL_EMB_PERFMON
Depends on E500 || PPC_83xx
Selected by
- PPC_FSL_BOOK3E
vim +/is_valid_bugaddr +1341 arch/powerpc/kernel/traps.c
14cf11af6cf608 Paul Mackerras 2005-09-26 1340
73c9ceab40b126 Jeremy Fitzhardinge 2006-12-08 @1341 int is_valid_bugaddr(unsigned long addr)
14cf11af6cf608 Paul Mackerras 2005-09-26 1342 {
73c9ceab40b126 Jeremy Fitzhardinge 2006-12-08 1343 return is_kernel_addr(addr);
14cf11af6cf608 Paul Mackerras 2005-09-26 1344 }
14cf11af6cf608 Paul Mackerras 2005-09-26 1345
:::::: The code at line 1341 was first introduced by commit
:::::: 73c9ceab40b1269d6195e556773167c078ac8311 [POWERPC] Generic BUG for powerpc
:::::: TO: Jeremy Fitzhardinge <jeremy@goop.org>
:::::: CC: Paul Mackerras <paulus@samba.org>
---
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: 23545 bytes --]
next reply other threads:[~2021-08-11 7:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-11 7:43 kernel test robot [this message]
2021-08-11 7:43 ` [linux-stable-rc:linux-4.19.y 2397/4040] arch/powerpc/kernel/traps.c:1341:5: error: no previous prototype for 'is_valid_bugaddr' 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=202108111525.JIeHHZP2-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.