[linux-stable-rc:linux-4.19.y 2397/3689] arch/powerpc/kernel/suspend.c:18:5: error: no previous prototype for 'pfn_is_nosave'
by kernel test robot
Hi Michael,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: 7281e11121f6fb47ea1e757b7781c5c15e3781fe
commit: 57ac40ee09cea2ec90f71c6f49b15d0d82667b38 [2397/3689] powerpc: Drop -me200 addition to build flags
config: powerpc64-randconfig-p001-20210318 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.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.gi...
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-9.3.0 make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/kernel/suspend.c:18:5: error: no previous prototype for 'pfn_is_nosave' [-Werror=missing-prototypes]
18 | int pfn_is_nosave(unsigned long pfn)
| ^~~~~~~~~~~~~
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)
| ^~~~~~~~~
arch/powerpc/mm/fsl_booke_mmu.c:269:21: error: no previous prototype for 'relocate_init' [-Werror=missing-prototypes]
269 | notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
| ^~~~~~~~~~~~~
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 +/pfn_is_nosave +18 arch/powerpc/kernel/suspend.c
49c3df6aaa6a51 Vivek Goyal 2007-05-02 13
49c3df6aaa6a51 Vivek Goyal 2007-05-02 14 /*
49c3df6aaa6a51 Vivek Goyal 2007-05-02 15 * pfn_is_nosave - check if given pfn is in the 'nosave' section
49c3df6aaa6a51 Vivek Goyal 2007-05-02 16 */
49c3df6aaa6a51 Vivek Goyal 2007-05-02 17
49c3df6aaa6a51 Vivek Goyal 2007-05-02 @18 int pfn_is_nosave(unsigned long pfn)
:::::: The code at line 18 was first introduced by commit
:::::: 49c3df6aaa6a51071fc135273d1a2515d019099f [PATCH] x86: Move swsusp __pa() dependent code to arch portion
:::::: TO: Vivek Goyal <vgoyal(a)in.ibm.com>
:::::: CC: Andi Kleen <andi(a)basil.nowhere.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH 1/1] arm64: print alloc free paths for address in registers
by kernel test robot
Hi Maninder,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on v5.12-rc3 next-20210319]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Maninder-Singh/arm64-print-alloc...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r013-20210318 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.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://github.com/0day-ci/linux/commit/80431a06fb1d63d8cca96411426b612ce...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Maninder-Singh/arm64-print-alloc-free-paths-for-address-in-registers/20210319-192241
git checkout 80431a06fb1d63d8cca96411426b612ce049f545
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
arch/arm64/kernel/process.c:261:6: warning: no previous prototype for '__show_regs' [-Wmissing-prototypes]
261 | void __show_regs(struct pt_regs *regs)
| ^~~~~~~~~~~
>> arch/arm64/kernel/process.c:307:6: warning: no previous prototype for '__show_regs_alloc_free' [-Wmissing-prototypes]
307 | void __show_regs_alloc_free(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/process.c:365:5: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes]
365 | int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/process.c:546:41: warning: no previous prototype for '__switch_to' [-Wmissing-prototypes]
546 | __notrace_funcgraph struct task_struct *__switch_to(struct task_struct *prev,
| ^~~~~~~~~~~
arch/arm64/kernel/process.c:710:25: warning: no previous prototype for 'arm64_preempt_schedule_irq' [-Wmissing-prototypes]
710 | asmlinkage void __sched arm64_preempt_schedule_irq(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/__show_regs_alloc_free +307 arch/arm64/kernel/process.c
260
> 261 void __show_regs(struct pt_regs *regs)
262 {
263 int i, top_reg;
264 u64 lr, sp;
265
266 if (compat_user_mode(regs)) {
267 lr = regs->compat_lr;
268 sp = regs->compat_sp;
269 top_reg = 12;
270 } else {
271 lr = regs->regs[30];
272 sp = regs->sp;
273 top_reg = 29;
274 }
275
276 show_regs_print_info(KERN_DEFAULT);
277 print_pstate(regs);
278
279 if (!user_mode(regs)) {
280 printk("pc : %pS\n", (void *)regs->pc);
281 printk("lr : %pS\n", (void *)ptrauth_strip_insn_pac(lr));
282 } else {
283 printk("pc : %016llx\n", regs->pc);
284 printk("lr : %016llx\n", lr);
285 }
286
287 printk("sp : %016llx\n", sp);
288
289 if (system_uses_irq_prio_masking())
290 printk("pmr_save: %08llx\n", regs->pmr_save);
291
292 i = top_reg;
293
294 while (i >= 0) {
295 printk("x%-2d: %016llx ", i, regs->regs[i]);
296 i--;
297
298 if (i % 2 == 0) {
299 pr_cont("x%-2d: %016llx ", i, regs->regs[i]);
300 i--;
301 }
302
303 pr_cont("\n");
304 }
305 }
306
> 307 void __show_regs_alloc_free(struct pt_regs *regs)
308 {
309 int i;
310
311 /* check for x0 - x29 only */
312 for (i = 0; i <= 29; i++) {
313 pr_alert("Register x%d information:", i);
314 mem_dump_obj((void *)regs->regs[i]);
315 }
316 }
317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Peter,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196
commit: fc53d5279094e38e6363506339772a7021da2df8 usb: chipidea: tegra: Support host mode
date: 9 weeks ago
config: arm-randconfig-r003-20210319 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fc53d5279094e38e6363506339772a7021da2df8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10023.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10021.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx22702.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10353.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10039.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/sp887x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda1004x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mt312.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib8000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib7000p.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24110.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/sp8870.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stb0899.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0299.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dvb-pll.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/tda18250.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/qm1d1b0004.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/qm1d1c0042.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/mxl301rf.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/r820t.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/it913x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/fc0013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/fc0012.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/fc0011.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/fc2580.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/tda18212.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/tda18218.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/mxl5005s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/mt2131.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/qt1010.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/mt2063.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/tuners/msi001.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/sony-btf-mpx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/uda1342.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/tlv320aic23b.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/m52790.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/cs53l32a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/cs3308.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/ths8200.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/ths7303.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/bt866.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/adv748x/adv748x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/adv7393.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/adv7180.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/saa7115.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/tea6420.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/saa6588.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/i2c/cx25840/cx25840.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i3c/master/i3c-master-cdns.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i3c/i3c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/i2c-dev.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/i2c-smbus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/muxes/i2c-mux-mlxcpld.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/muxes/i2c-demux-pinctrl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-fsi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-robotfuzz-osif.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-parport.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-dln2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-diolan-u2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-xiic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/busses/i2c-cbus-gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/i2c/algos/i2c-algo-bit.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-test.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-stk17ta8.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-rx8010.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-rv8803.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-rv3032.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-rv3028.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-rp5c01.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-r7301.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-pm8xxx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-pl031.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-pcf8583.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-pcf85363.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-msm6242.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-mcp795.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-max8997.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-m48t35.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-m41t93.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-m41t80.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-isl12022.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-hym8563.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-goldfish.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ftrtc010.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-fm3130.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-efi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds2404.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds1553.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds1511.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds1347.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds1343.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ds1307.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-da9052.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-abx80x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ab-eoz9.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rtc/rtc-ab-b5ze-s3.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/input/gameport/ns558.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/input/gameport/lightning.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/chipidea/ci_hdrc_tegra.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/chipidea/ci_hdrc_usb2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/chipidea/ci_hdrc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/lvstest.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/sisusbvga/sisusbvga.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/usb4604.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/usb3503.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/yurex.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/uss720.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/trancevibrator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/ehset.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/usbtest.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/legousbtower.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/ldusb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/usblcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/isight_firmware.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/idmouse.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/apple-mfi-fastcharge.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/ftdi-elan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/ezusb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/cytherm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/misc/adutux.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/image/mdc800.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/class/cdc-wdm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/c67x00/c67x00.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/max3421-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/fotg210-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/bcma-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ehci-fsl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/fsl-mph-dr-of.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/r8a66597-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/u132-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ohci-pxa27x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ohci-platform.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ohci-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/isp116x-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/oxu210hp-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ehci-platform.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/dwc2/dwc2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/dwc3/dwc3.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/core/ledtrig-usbport.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/core/usbcore.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/typec/stusb160x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/typec/tps6598x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/typec/hd3ss3220.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/typec/altmodes/typec_displayport.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/phy/phy-gpio-vbus-usb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/phy/phy-am335x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/phy/phy-am335x-control.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/phy/phy-tahvo.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/phy/phy-generic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/common/ulpi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/usb/common/usb-otg-fsm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_colibri.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_balloon3.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_vpac270.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_palmld.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_sharpsl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/pxa2xx_base.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pcmcia/soc_common.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/auxdisplay/ht16k33.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-amd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-xilinx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-xcomm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-tle62x0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-sifive.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-mxic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-lp8841-rtc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-fsl-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-fsl-lib.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-dw-mmio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-dw.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-butterfly.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spi/spi-loopback-test.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/hyperbus/hyperbus-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/ubi/gluebi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/ubi/ubi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/spi-nor/spi-nor.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/intel-nand-controller.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/arasan-nand-controller.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/cadence-nand-controller.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/mxic_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/brcmnand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/brcmstb_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/bcm6368_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/bcm63138_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/iproc_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/plat_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/marvell_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/nandsim.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/sharpsl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/diskonchip.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/denali_dt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/denali.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/onenand/generic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/devices/sst25l.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/devices/mchp23k256.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/maps/plat-ram.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[chrome-os:chromeos-4.4 57/214] include/media/v4l2-rect.h:185:15: warning: comparison between signed and unsigned integer expressions
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 165087594d83615eb48f64ee09830ccccd7f4ae4
commit: 5a4eba75642861e857fec1aeb6cfcb055cfe2650 [57/214] UPSTREAM: media: staging: rkisp1: add Rockchip ISP1 base driver
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout 5a4eba75642861e857fec1aeb6cfcb055cfe2650
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/staging/media/rkisp1/rkisp1-common.c:8:0:
include/media/v4l2-rect.h: In function 'v4l2_rect_overlap':
>> include/media/v4l2-rect.h:185:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r1->left >= r2->left + r2->width ||
^~
include/media/v4l2-rect.h:186:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
r2->left >= r1->left + r1->width)
^~
include/media/v4l2-rect.h:193:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r1->top >= r2->top + r2->height ||
^~
include/media/v4l2-rect.h:194:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
r2->top >= r1->top + r1->height)
^~
In file included from drivers/staging/media/rkisp1/rkisp1-common.h:14:0,
from drivers/staging/media/rkisp1/rkisp1-common.c:10:
include/linux/clk.h: At top level:
include/linux/clk.h:199:70: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline int __must_check clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:223:60: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:528:17: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:539:15: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:546:54: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline void clk_bulk_put(int num_clks, struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:555:69: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
static inline int __must_check clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h:564:16: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks) {}
^~~~~~~~~~~~~
include/linux/clk.h:624:13: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_prepare_enable':
include/linux/clk.h:628:35: warning: passing argument 2 of 'clk_bulk_prepare' from incompatible pointer type [-Wincompatible-pointer-types]
ret = clk_bulk_prepare(num_clks, clks);
^~~~
include/linux/clk.h:199:32: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int __must_check clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~
include/linux/clk.h:631:34: warning: passing argument 2 of 'clk_bulk_enable' from incompatible pointer type [-Wincompatible-pointer-types]
ret = clk_bulk_enable(num_clks, clks);
^~~~
include/linux/clk.h:555:32: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline int __must_check clk_bulk_enable(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~
include/linux/clk.h:633:32: warning: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
include/linux/clk.h: At top level:
include/linux/clk.h:639:19: warning: 'struct clk_bulk_data' declared inside parameter list will not be visible outside of this definition or declaration
struct clk_bulk_data *clks)
^~~~~~~~~~~~~
include/linux/clk.h: In function 'clk_bulk_disable_unprepare':
include/linux/clk.h:641:29: warning: passing argument 2 of 'clk_bulk_disable' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_disable(num_clks, clks);
^~~~
include/linux/clk.h:563:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_disable(int num_clks,
^~~~~~~~~~~~~~~~
include/linux/clk.h:642:31: warning: passing argument 2 of 'clk_bulk_unprepare' from incompatible pointer type [-Wincompatible-pointer-types]
clk_bulk_unprepare(num_clks, clks);
^~~~
include/linux/clk.h:223:20: note: expected 'struct clk_bulk_data *' but argument is of type 'struct clk_bulk_data *'
static inline void clk_bulk_unprepare(int num_clks, struct clk_bulk_data *clks)
^~~~~~~~~~~~~~~~~~
In file included from drivers/staging/media/rkisp1/rkisp1-common.c:10:0:
drivers/staging/media/rkisp1/rkisp1-common.h: At top level:
drivers/staging/media/rkisp1/rkisp1-common.h:145:23: error: array type has incomplete element type 'struct clk_bulk_data'
struct clk_bulk_data clks[RKISP1_MAX_BUS_CLK];
^~~~
vim +185 include/media/v4l2-rect.h
32073753dbce4a Hans Verkuil 2016-04-03 169
32073753dbce4a Hans Verkuil 2016-04-03 170 /**
32073753dbce4a Hans Verkuil 2016-04-03 171 * v4l2_rect_overlap() - do r1 and r2 overlap?
32073753dbce4a Hans Verkuil 2016-04-03 172 * @r1: rectangle.
32073753dbce4a Hans Verkuil 2016-04-03 173 * @r2: rectangle.
32073753dbce4a Hans Verkuil 2016-04-03 174 *
32073753dbce4a Hans Verkuil 2016-04-03 175 * Returns true if @r1 and @r2 overlap.
32073753dbce4a Hans Verkuil 2016-04-03 176 */
32073753dbce4a Hans Verkuil 2016-04-03 177 static inline bool v4l2_rect_overlap(const struct v4l2_rect *r1,
32073753dbce4a Hans Verkuil 2016-04-03 178 const struct v4l2_rect *r2)
32073753dbce4a Hans Verkuil 2016-04-03 179 {
32073753dbce4a Hans Verkuil 2016-04-03 180 /*
32073753dbce4a Hans Verkuil 2016-04-03 181 * IF the left side of r1 is to the right of the right side of r2 OR
32073753dbce4a Hans Verkuil 2016-04-03 182 * the left side of r2 is to the right of the right side of r1 THEN
32073753dbce4a Hans Verkuil 2016-04-03 183 * they do not overlap.
32073753dbce4a Hans Verkuil 2016-04-03 184 */
32073753dbce4a Hans Verkuil 2016-04-03 @185 if (r1->left >= r2->left + r2->width ||
32073753dbce4a Hans Verkuil 2016-04-03 186 r2->left >= r1->left + r1->width)
32073753dbce4a Hans Verkuil 2016-04-03 187 return false;
32073753dbce4a Hans Verkuil 2016-04-03 188 /*
32073753dbce4a Hans Verkuil 2016-04-03 189 * IF the top side of r1 is below the bottom of r2 OR
32073753dbce4a Hans Verkuil 2016-04-03 190 * the top side of r2 is below the bottom of r1 THEN
32073753dbce4a Hans Verkuil 2016-04-03 191 * they do not overlap.
32073753dbce4a Hans Verkuil 2016-04-03 192 */
32073753dbce4a Hans Verkuil 2016-04-03 193 if (r1->top >= r2->top + r2->height ||
32073753dbce4a Hans Verkuil 2016-04-03 194 r2->top >= r1->top + r1->height)
32073753dbce4a Hans Verkuil 2016-04-03 195 return false;
32073753dbce4a Hans Verkuil 2016-04-03 196 return true;
32073753dbce4a Hans Verkuil 2016-04-03 197 }
32073753dbce4a Hans Verkuil 2016-04-03 198
:::::: The code at line 185 was first introduced by commit
:::::: 32073753dbce4a97ad6d3e2f8392aa35bfc46d09 UPSTREAM: [media] v4l2-rect.h: new header with struct v4l2_rect helper functions
:::::: TO: Hans Verkuil <hans.verkuil(a)cisco.com>
:::::: CC: Commit Bot <commit-bot(a)chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[peterz-queue:sched/cleanup 4/4] kernel/rcu/tree.c:1385:5: error: implicit declaration of function 'irq_work_queue_remote'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/cleanup
head: 4ce65b446bd58756d4b38c3cd13b0617359a1055
commit: 4ce65b446bd58756d4b38c3cd13b0617359a1055 [4/4] rcu/tree: Use irq_work_queue_remote()
config: xtensa-virt_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.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/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/cleanup
git checkout 4ce65b446bd58756d4b38c3cd13b0617359a1055
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/rcu/tree.c: In function 'rcu_implicit_dynticks_qs':
>> kernel/rcu/tree.c:1385:5: error: implicit declaration of function 'irq_work_queue_remote'; did you mean 'irq_work_queue_on'? [-Werror=implicit-function-declaration]
1385 | irq_work_queue_remote(rdp->cpu, &rdp->rcu_iw);
| ^~~~~~~~~~~~~~~~~~~~~
| irq_work_queue_on
cc1: some warnings being treated as errors
vim +1385 kernel/rcu/tree.c
1260
1261 /*
1262 * Return true if the specified CPU has passed through a quiescent
1263 * state by virtue of being in or having passed through an dynticks
1264 * idle state since the last call to dyntick_save_progress_counter()
1265 * for this same CPU, or by virtue of having been offline.
1266 */
1267 static int rcu_implicit_dynticks_qs(struct rcu_data *rdp)
1268 {
1269 unsigned long jtsq;
1270 bool *rnhqp;
1271 bool *ruqp;
1272 struct rcu_node *rnp = rdp->mynode;
1273
1274 raw_lockdep_assert_held_rcu_node(rnp);
1275
1276 /*
1277 * If the CPU passed through or entered a dynticks idle phase with
1278 * no active irq/NMI handlers, then we can safely pretend that the CPU
1279 * already acknowledged the request to pass through a quiescent
1280 * state. Either way, that CPU cannot possibly be in an RCU
1281 * read-side critical section that started before the beginning
1282 * of the current RCU grace period.
1283 */
1284 if (rcu_dynticks_in_eqs_since(rdp, rdp->dynticks_snap)) {
1285 trace_rcu_fqs(rcu_state.name, rdp->gp_seq, rdp->cpu, TPS("dti"));
1286 rcu_gpnum_ovf(rnp, rdp);
1287 return 1;
1288 }
1289
1290 /*
1291 * Complain if a CPU that is considered to be offline from RCU's
1292 * perspective has not yet reported a quiescent state. After all,
1293 * the offline CPU should have reported a quiescent state during
1294 * the CPU-offline process, or, failing that, by rcu_gp_init()
1295 * if it ran concurrently with either the CPU going offline or the
1296 * last task on a leaf rcu_node structure exiting its RCU read-side
1297 * critical section while all CPUs corresponding to that structure
1298 * are offline. This added warning detects bugs in any of these
1299 * code paths.
1300 *
1301 * The rcu_node structure's ->lock is held here, which excludes
1302 * the relevant portions the CPU-hotplug code, the grace-period
1303 * initialization code, and the rcu_read_unlock() code paths.
1304 *
1305 * For more detail, please refer to the "Hotplug CPU" section
1306 * of RCU's Requirements documentation.
1307 */
1308 if (WARN_ON_ONCE(!(rdp->grpmask & rcu_rnp_online_cpus(rnp)))) {
1309 bool onl;
1310 struct rcu_node *rnp1;
1311
1312 pr_info("%s: grp: %d-%d level: %d ->gp_seq %ld ->completedqs %ld\n",
1313 __func__, rnp->grplo, rnp->grphi, rnp->level,
1314 (long)rnp->gp_seq, (long)rnp->completedqs);
1315 for (rnp1 = rnp; rnp1; rnp1 = rnp1->parent)
1316 pr_info("%s: %d:%d ->qsmask %#lx ->qsmaskinit %#lx ->qsmaskinitnext %#lx ->rcu_gp_init_mask %#lx\n",
1317 __func__, rnp1->grplo, rnp1->grphi, rnp1->qsmask, rnp1->qsmaskinit, rnp1->qsmaskinitnext, rnp1->rcu_gp_init_mask);
1318 onl = !!(rdp->grpmask & rcu_rnp_online_cpus(rnp));
1319 pr_info("%s %d: %c online: %ld(%d) offline: %ld(%d)\n",
1320 __func__, rdp->cpu, ".o"[onl],
1321 (long)rdp->rcu_onl_gp_seq, rdp->rcu_onl_gp_flags,
1322 (long)rdp->rcu_ofl_gp_seq, rdp->rcu_ofl_gp_flags);
1323 return 1; /* Break things loose after complaining. */
1324 }
1325
1326 /*
1327 * A CPU running for an extended time within the kernel can
1328 * delay RCU grace periods: (1) At age jiffies_to_sched_qs,
1329 * set .rcu_urgent_qs, (2) At age 2*jiffies_to_sched_qs, set
1330 * both .rcu_need_heavy_qs and .rcu_urgent_qs. Note that the
1331 * unsynchronized assignments to the per-CPU rcu_need_heavy_qs
1332 * variable are safe because the assignments are repeated if this
1333 * CPU failed to pass through a quiescent state. This code
1334 * also checks .jiffies_resched in case jiffies_to_sched_qs
1335 * is set way high.
1336 */
1337 jtsq = READ_ONCE(jiffies_to_sched_qs);
1338 ruqp = per_cpu_ptr(&rcu_data.rcu_urgent_qs, rdp->cpu);
1339 rnhqp = &per_cpu(rcu_data.rcu_need_heavy_qs, rdp->cpu);
1340 if (!READ_ONCE(*rnhqp) &&
1341 (time_after(jiffies, rcu_state.gp_start + jtsq * 2) ||
1342 time_after(jiffies, rcu_state.jiffies_resched) ||
1343 rcu_state.cbovld)) {
1344 WRITE_ONCE(*rnhqp, true);
1345 /* Store rcu_need_heavy_qs before rcu_urgent_qs. */
1346 smp_store_release(ruqp, true);
1347 } else if (time_after(jiffies, rcu_state.gp_start + jtsq)) {
1348 WRITE_ONCE(*ruqp, true);
1349 }
1350
1351 /*
1352 * NO_HZ_FULL CPUs can run in-kernel without rcu_sched_clock_irq!
1353 * The above code handles this, but only for straight cond_resched().
1354 * And some in-kernel loops check need_resched() before calling
1355 * cond_resched(), which defeats the above code for CPUs that are
1356 * running in-kernel with scheduling-clock interrupts disabled.
1357 * So hit them over the head with the resched_cpu() hammer!
1358 */
1359 if (tick_nohz_full_cpu(rdp->cpu) &&
1360 (time_after(jiffies, READ_ONCE(rdp->last_fqs_resched) + jtsq * 3) ||
1361 rcu_state.cbovld)) {
1362 WRITE_ONCE(*ruqp, true);
1363 resched_cpu(rdp->cpu);
1364 WRITE_ONCE(rdp->last_fqs_resched, jiffies);
1365 }
1366
1367 /*
1368 * If more than halfway to RCU CPU stall-warning time, invoke
1369 * resched_cpu() more frequently to try to loosen things up a bit.
1370 * Also check to see if the CPU is getting hammered with interrupts,
1371 * but only once per grace period, just to keep the IPIs down to
1372 * a dull roar.
1373 */
1374 if (time_after(jiffies, rcu_state.jiffies_resched)) {
1375 if (time_after(jiffies,
1376 READ_ONCE(rdp->last_fqs_resched) + jtsq)) {
1377 resched_cpu(rdp->cpu);
1378 WRITE_ONCE(rdp->last_fqs_resched, jiffies);
1379 }
1380 if (!rdp->rcu_iw_pending && rdp->rcu_iw_gp_seq != rnp->gp_seq &&
1381 (rnp->ffmask & rdp->grpmask)) {
1382 rdp->rcu_iw_gp_seq = rnp->gp_seq;
1383 if (likely(rdp->cpu != smp_processor_id())) {
1384 rdp->rcu_iw_pending = true;
> 1385 irq_work_queue_remote(rdp->cpu, &rdp->rcu_iw);
1386 }
1387 }
1388 }
1389
1390 return 0;
1391 }
1392
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [RFC PATCH 1/3] hugetlb: add demote hugetlb page sysfs interfaces
by kernel test robot
Hi Mike,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc3 next-20210319]
[cannot apply to linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Mike-Kravetz/hugetlb-add-demote-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 144c79ef33536b4ecb4951e07dbc1f2b7fa99d32
config: i386-randconfig-r005-20210318 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/c49b5026f94b3358774d991cd0b2c2f57...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mike-Kravetz/hugetlb-add-demote-split-page-functionality/20210309-081944
git checkout c49b5026f94b3358774d991cd0b2c2f5720c07a7
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
mm/hugetlb.c: In function 'demote_size_show':
>> mm/hugetlb.c:3011:16: warning: variable 'demote_size' set but not used [-Wunused-but-set-variable]
3011 | unsigned long demote_size;
| ^~~~~~~~~~~
vim +/demote_size +3011 mm/hugetlb.c
3006
3007 static ssize_t demote_size_show(struct kobject *kobj,
3008 struct kobj_attribute *attr, char *buf)
3009 {
3010 struct hstate *h;
> 3011 unsigned long demote_size;
3012 int nid;
3013
3014 h = kobj_to_hstate(kobj, &nid);
3015 demote_size = h->demote_order;
3016
3017 return sysfs_emit(buf, "%lukB\n",
3018 (unsigned long)(PAGE_SIZE << h->demote_order) / SZ_1K);
3019 }
3020 HSTATE_ATTR_RO(demote_size);
3021
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH v6 17/38] KVM: arm64: Prepare the creation of s1 mappings at EL2
by kernel test robot
Hi Quentin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kvmarm/next]
[also build test WARNING on arm64/for-next/core linus/master v5.12-rc3 next-20210319]
[cannot apply to linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Quentin-Perret/KVM-arm64-Stage-2...
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git next
config: arm64-randconfig-r036-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/d9cbcf8f8115531ae6333bb07ed1d8652...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Quentin-Perret/KVM-arm64-Stage-2-for-the-host/20210319-180524
git checkout d9cbcf8f8115531ae6333bb07ed1d865233e7e10
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/hyp/nvhe/setup.c:133:17: warning: no previous prototype for function '__pkvm_init_finalise' [-Wmissing-prototypes]
void __noreturn __pkvm_init_finalise(void)
^
arch/arm64/kvm/hyp/nvhe/setup.c:133:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __noreturn __pkvm_init_finalise(void)
^
static
1 warning generated.
vim +/__pkvm_init_finalise +133 arch/arm64/kvm/hyp/nvhe/setup.c
132
> 133 void __noreturn __pkvm_init_finalise(void)
134 {
135 struct kvm_host_data *host_data = this_cpu_ptr(&kvm_host_data);
136 struct kvm_cpu_context *host_ctxt = &host_data->host_ctxt;
137 unsigned long nr_pages, reserved_pages, pfn;
138 int ret;
139
140 /* Now that the vmemmap is backed, install the full-fledged allocator */
141 pfn = hyp_virt_to_pfn(hyp_pgt_base);
142 nr_pages = hyp_s1_pgtable_pages();
143 reserved_pages = hyp_early_alloc_nr_used_pages();
144 ret = hyp_pool_init(&hpool, pfn, nr_pages, reserved_pages);
145 if (ret)
146 goto out;
147
148 pkvm_pgtable_mm_ops = (struct kvm_pgtable_mm_ops) {
149 .zalloc_page = hyp_zalloc_hyp_page,
150 .phys_to_virt = hyp_phys_to_virt,
151 .virt_to_phys = hyp_virt_to_phys,
152 .get_page = hyp_get_page,
153 .put_page = hyp_put_page,
154 };
155 pkvm_pgtable.mm_ops = &pkvm_pgtable_mm_ops;
156
157 out:
158 /*
159 * We tail-called to here from handle___pkvm_init() and will not return,
160 * so make sure to propagate the return value to the host.
161 */
162 cpu_reg(host_ctxt, 1) = ret;
163
164 __host_enter(host_ctxt);
165 }
166
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months