[linux-next:master 1232/1691] drivers/mtd/nand/raw/tango_nand.c:348:35: warning: Clarify calculation precedence for '&' and
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 27f70ec4fa0e0f419031f1b8d61b1a788244e313
commit: d8ed345a4c622657638b740415c6f73b26bfd132 [1232/1691] mtd: rawnand: tango: Convert the driver to exec_op()
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
cppcheck warnings: (new ones prefixed by >>)
>> drivers/mtd/nand/raw/tango_nand.c:348:35: warning: Clarify calculation precedence for '&' and '?'. [clarifyCalculation]
return status & NAND_STATUS_FAIL ? -EIO : 0;
^
vim +348 drivers/mtd/nand/raw/tango_nand.c
319
320 static int tango_write_page(struct nand_chip *chip, const u8 *buf,
321 int oob_required, int page)
322 {
323 struct mtd_info *mtd = nand_to_mtd(chip);
324 struct tango_nfc *nfc = to_tango_nfc(chip->controller);
325 const struct nand_sdr_timings *timings;
326 int err, len = mtd->writesize;
327 u8 status;
328
329 /* Calling tango_write_oob() would send PAGEPROG twice */
330 if (oob_required)
331 return -ENOTSUPP;
332
333 tango_select_target(chip, chip->cur_cs);
334 writel_relaxed(0xffffffff, nfc->mem_base + METADATA);
335 err = do_dma(nfc, DMA_TO_DEVICE, NFC_WRITE, buf, len, page);
336 if (err)
337 return err;
338
339 timings = nand_get_sdr_timings(&chip->data_interface);
340 err = tango_waitrdy(chip, PSEC_TO_MSEC(timings->tR_max));
341 if (err)
342 return err;
343
344 err = nand_status_op(chip, &status);
345 if (err)
346 return err;
347
> 348 return status & NAND_STATUS_FAIL ? -EIO : 0;
349 }
350
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[kbuild] Re: [PATCH v3 1/3] net: phy: mscc: move shared probe code into a helper
by Dan Carpenter
Hi Heiko,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on sparc-next/master net/master linus/master v5.8-rc1 next-20200616]
[cannot apply to robh/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Heiko-Stuebner/net-phy-mscc-move...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2
config: i386-randconfig-m021-20200616 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/net/phy/mscc/mscc_main.c:2002 vsc8574_probe() error: potentially dereferencing uninitialized 'vsc8531'.
# https://github.com/0day-ci/linux/commit/5be350208c014ad5e0afd06868ccaaefd...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 5be350208c014ad5e0afd06868ccaaefd6216345
vim +/vsc8531 +2002 drivers/net/phy/mscc/mscc_main.c
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1984 static int vsc8574_probe(struct phy_device *phydev)
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1985 {
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1986 struct vsc8531_private *vsc8531;
^^^^^^^
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1987 int rc;
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1988 u32 default_mode[4] = {VSC8531_LINK_1000_ACTIVITY,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1989 VSC8531_LINK_100_ACTIVITY, VSC8531_LINK_ACTIVITY,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1990 VSC8531_DUPLEX_COLLISION};
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1991
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1992 rc = vsc85xx_probe_helper(phydev, default_mode,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1993 ARRAY_SIZE(default_mode),
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1994 VSC8584_SUPP_LED_MODES,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1995 vsc8584_hw_stats,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1996 ARRAY_SIZE(vsc8584_hw_stats));
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1997 if (rc < 0)
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 1998 return rc;
00d70d8e0e7811 drivers/net/phy/mscc.c Quentin Schulz 2018-10-08 1999
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 2000 vsc8584_get_base_addr(phydev);
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 2001 return devm_phy_package_join(&phydev->mdio.dev, phydev,
5be350208c014a drivers/net/phy/mscc/mscc_main.c Heiko Stuebner 2020-06-15 @2002 vsc8531->base_addr, 0);
^^^^^^^^^^^^^^^^^^
Not initialized.
00d70d8e0e7811 drivers/net/phy/mscc.c Quentin Schulz 2018-10-08 2003 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
[habanaai:habanalabs-next 3/7] drivers/misc/habanalabs/hw_queue.c:755:6: warning: no previous prototype for function 'sync_stream_queue_reset'
by kernel test robot
tree: https://github.com/HabanaAI/linux.git habanalabs-next
head: 9f1f5fec2fa4fdc6fd885cede11eded0026afc48
commit: d3a635399f51a0b7d478b758239d23ec4cc1a4af [3/7] habanalabs: sync stream generic functionality
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout d3a635399f51a0b7d478b758239d23ec4cc1a4af
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>, old ones prefixed by <<):
>> drivers/misc/habanalabs/hw_queue.c:755:6: warning: no previous prototype for function 'sync_stream_queue_reset' [-Wmissing-prototypes]
void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
^
drivers/misc/habanalabs/hw_queue.c:755:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
^
static
1 warning generated.
vim +/sync_stream_queue_reset +755 drivers/misc/habanalabs/hw_queue.c
754
> 755 void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
756 {
757 struct hl_hw_queue *hw_queue = &hdev->kernel_queues[q_idx];
758
759 /*
760 * In case we got here due to a stuck CS, the refcnt might be bigger
761 * than 1 and therefore we reset it.
762 */
763 kref_init(&hw_queue->hw_sob[hw_queue->curr_sob_offset].kref);
764 hw_queue->curr_sob_offset = 0;
765 hw_queue->next_sob_val = 1;
766 }
767
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[hch-misc:module_alloc-cleanup 1/5] arch/x86/um/../kernel/module.c:68:7: warning: no previous prototype for 'module_alloc_prot'
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git module_alloc-cleanup
head: d435793fc6f10b6d93bb759ed53efe0d41a64901
commit: 1b362649d96428e3619296041b77c966f3f12628 [1/5] x86: add a module_alloc_prot helper
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 1b362649d96428e3619296041b77c966f3f12628
# save the attached .config to linux build tree
make W=1 ARCH=um SUBARCH=x86_64
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 >>, old ones prefixed by <<):
cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
In file included from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from arch/x86/um/../kernel/module.c:12:
arch/um/include/asm/uaccess.h: In function '__access_ok':
arch/um/include/asm/uaccess.h:17:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
17 | (((unsigned long) (addr) >= FIXADDR_USER_START) && | ^~
arch/um/include/asm/uaccess.h:45:3: note: in expansion of macro '__access_ok_vsyscall'
45 | __access_ok_vsyscall(addr, size) ||
| ^~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from include/linux/moduleloader.h:6,
from arch/x86/um/../kernel/module.c:9:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~
include/linux/compiler.h:372:9: note: in definition of macro '__compiletime_assert'
372 | if (!(condition)) | ^~~~~~~~~
include/linux/compiler.h:392:2: note: in expansion of macro '_compiletime_assert'
392 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~~~~~~~~~~~
arch/x86/um/../kernel/module.c: At top level:
>> arch/x86/um/../kernel/module.c:68:7: warning: no previous prototype for 'module_alloc_prot' [-Wmissing-prototypes]
68 | void *module_alloc_prot(unsigned long size, pgprot_t prot)
| ^~~~~~~~~~~~~~~~~
vim +/module_alloc_prot +68 arch/x86/um/../kernel/module.c
67
> 68 void *module_alloc_prot(unsigned long size, pgprot_t prot)
69 {
70 void *p;
71
72 if (PAGE_ALIGN(size) > MODULES_LEN)
73 return NULL;
74
75 p = __vmalloc_node_range(size, MODULE_ALIGN,
76 MODULES_VADDR + get_module_load_offset(),
77 MODULES_END, GFP_KERNEL,
78 prot, 0, NUMA_NO_NODE,
79 __builtin_return_address(0));
80 if (p && (kasan_module_alloc(p, size) < 0)) {
81 vfree(p);
82 return NULL;
83 }
84
85 return p;
86 }
87
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[hch-misc:exec-cleanup 2/6] arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git exec-cleanup
head: 080f989240087d1a10d9c782036e5106ef9d755e
commit: c8d319711ad2f53be003ae8e9be08519068bdcee [2/6] exec: simplify the compat syscall handling
config: x86_64-randconfig-m001-20200615 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
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 >>, old ones prefixed by <<):
| ^~~~~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:336:1: note: in expansion of macro '__SYSCALL_X32'
336 | __SYSCALL_X32(512, compat_sys_rt_sigaction)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[512]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:336:1: note: in expansion of macro '__SYSCALL_X32'
336 | __SYSCALL_X32(512, compat_sys_rt_sigaction)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:337:1: note: in expansion of macro '__SYSCALL_X32'
337 | __SYSCALL_X32(513, compat_sys_x32_rt_sigreturn)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[513]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:337:1: note: in expansion of macro '__SYSCALL_X32'
337 | __SYSCALL_X32(513, compat_sys_x32_rt_sigreturn)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:338:1: note: in expansion of macro '__SYSCALL_X32'
338 | __SYSCALL_X32(514, compat_sys_ioctl)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[514]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:338:1: note: in expansion of macro '__SYSCALL_X32'
338 | __SYSCALL_X32(514, compat_sys_ioctl)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:339:1: note: in expansion of macro '__SYSCALL_X32'
339 | __SYSCALL_X32(515, compat_sys_readv)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[515]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:339:1: note: in expansion of macro '__SYSCALL_X32'
339 | __SYSCALL_X32(515, compat_sys_readv)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:340:1: note: in expansion of macro '__SYSCALL_X32'
340 | __SYSCALL_X32(516, compat_sys_writev)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[516]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:340:1: note: in expansion of macro '__SYSCALL_X32'
340 | __SYSCALL_X32(516, compat_sys_writev)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:341:1: note: in expansion of macro '__SYSCALL_X32'
341 | __SYSCALL_X32(517, compat_sys_recvfrom)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[517]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:341:1: note: in expansion of macro '__SYSCALL_X32'
341 | __SYSCALL_X32(517, compat_sys_recvfrom)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:342:1: note: in expansion of macro '__SYSCALL_X32'
342 | __SYSCALL_X32(518, compat_sys_sendmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[518]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:342:1: note: in expansion of macro '__SYSCALL_X32'
342 | __SYSCALL_X32(518, compat_sys_sendmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:343:1: note: in expansion of macro '__SYSCALL_X32'
343 | __SYSCALL_X32(519, compat_sys_recvmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[519]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:343:1: note: in expansion of macro '__SYSCALL_X32'
343 | __SYSCALL_X32(519, compat_sys_recvmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:15:26: warning: initialized field overwritten [-Woverride-init]
15 | #define __x32_sys_execve __x64_sys_execve
| ^~~~~~~~~~~~~~~~
>> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:344:1: note: in expansion of macro '__SYSCALL_X32'
344 | __SYSCALL_X32(520, sys_execve)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:15:26: note: (near initialization for 'x32_sys_call_table[520]')
15 | #define __x32_sys_execve __x64_sys_execve
| ^~~~~~~~~~~~~~~~
>> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execve'
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:344:1: note: in expansion of macro '__SYSCALL_X32'
344 | __SYSCALL_X32(520, sys_execve)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:345:1: note: in expansion of macro '__SYSCALL_X32'
345 | __SYSCALL_X32(521, compat_sys_ptrace)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[521]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:345:1: note: in expansion of macro '__SYSCALL_X32'
345 | __SYSCALL_X32(521, compat_sys_ptrace)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:346:1: note: in expansion of macro '__SYSCALL_X32'
346 | __SYSCALL_X32(522, compat_sys_rt_sigpending)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[522]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:346:1: note: in expansion of macro '__SYSCALL_X32'
346 | __SYSCALL_X32(522, compat_sys_rt_sigpending)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:347:1: note: in expansion of macro '__SYSCALL_X32'
347 | __SYSCALL_X32(523, compat_sys_rt_sigtimedwait_time64)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[523]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:347:1: note: in expansion of macro '__SYSCALL_X32'
347 | __SYSCALL_X32(523, compat_sys_rt_sigtimedwait_time64)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:348:1: note: in expansion of macro '__SYSCALL_X32'
348 | __SYSCALL_X32(524, compat_sys_rt_sigqueueinfo)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[524]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:348:1: note: in expansion of macro '__SYSCALL_X32'
348 | __SYSCALL_X32(524, compat_sys_rt_sigqueueinfo)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:349:1: note: in expansion of macro '__SYSCALL_X32'
349 | __SYSCALL_X32(525, compat_sys_sigaltstack)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[525]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:349:1: note: in expansion of macro '__SYSCALL_X32'
349 | __SYSCALL_X32(525, compat_sys_sigaltstack)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:350:1: note: in expansion of macro '__SYSCALL_X32'
350 | __SYSCALL_X32(526, compat_sys_timer_create)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[526]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:350:1: note: in expansion of macro '__SYSCALL_X32'
350 | __SYSCALL_X32(526, compat_sys_timer_create)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:351:1: note: in expansion of macro '__SYSCALL_X32'
351 | __SYSCALL_X32(527, compat_sys_mq_notify)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[527]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:351:1: note: in expansion of macro '__SYSCALL_X32'
351 | __SYSCALL_X32(527, compat_sys_mq_notify)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:352:1: note: in expansion of macro '__SYSCALL_X32'
352 | __SYSCALL_X32(528, compat_sys_kexec_load)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[528]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:352:1: note: in expansion of macro '__SYSCALL_X32'
352 | __SYSCALL_X32(528, compat_sys_kexec_load)
--
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:361:1: note: in expansion of macro '__SYSCALL_X32'
361 | __SYSCALL_X32(537, compat_sys_recvmmsg_time64)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[537]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:361:1: note: in expansion of macro '__SYSCALL_X32'
361 | __SYSCALL_X32(537, compat_sys_recvmmsg_time64)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:362:1: note: in expansion of macro '__SYSCALL_X32'
362 | __SYSCALL_X32(538, compat_sys_sendmmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[538]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:362:1: note: in expansion of macro '__SYSCALL_X32'
362 | __SYSCALL_X32(538, compat_sys_sendmmsg)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:363:1: note: in expansion of macro '__SYSCALL_X32'
363 | __SYSCALL_X32(539, compat_sys_process_vm_readv)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[539]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:363:1: note: in expansion of macro '__SYSCALL_X32'
363 | __SYSCALL_X32(539, compat_sys_process_vm_readv)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:364:1: note: in expansion of macro '__SYSCALL_X32'
364 | __SYSCALL_X32(540, compat_sys_process_vm_writev)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[540]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:364:1: note: in expansion of macro '__SYSCALL_X32'
364 | __SYSCALL_X32(540, compat_sys_process_vm_writev)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:365:1: note: in expansion of macro '__SYSCALL_X32'
365 | __SYSCALL_X32(541, compat_sys_setsockopt)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[541]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:365:1: note: in expansion of macro '__SYSCALL_X32'
365 | __SYSCALL_X32(541, compat_sys_setsockopt)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:366:1: note: in expansion of macro '__SYSCALL_X32'
366 | __SYSCALL_X32(542, compat_sys_getsockopt)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[542]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:366:1: note: in expansion of macro '__SYSCALL_X32'
366 | __SYSCALL_X32(542, compat_sys_getsockopt)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:367:1: note: in expansion of macro '__SYSCALL_X32'
367 | __SYSCALL_X32(543, compat_sys_io_setup)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[543]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:367:1: note: in expansion of macro '__SYSCALL_X32'
367 | __SYSCALL_X32(543, compat_sys_io_setup)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:368:1: note: in expansion of macro '__SYSCALL_X32'
368 | __SYSCALL_X32(544, compat_sys_io_submit)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[544]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:368:1: note: in expansion of macro '__SYSCALL_X32'
368 | __SYSCALL_X32(544, compat_sys_io_submit)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:16:28: warning: initialized field overwritten [-Woverride-init]
16 | #define __x32_sys_execveat __x64_sys_execveat
| ^~~~~~~~~~~~~~~~~~
>> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execveat'
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:369:1: note: in expansion of macro '__SYSCALL_X32'
369 | __SYSCALL_X32(545, sys_execveat)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:16:28: note: (near initialization for 'x32_sys_call_table[545]')
16 | #define __x32_sys_execveat __x64_sys_execveat
| ^~~~~~~~~~~~~~~~~~
>> arch/x86/entry/syscall_x32.c:26:39: note: in expansion of macro '__x32_sys_execveat'
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:369:1: note: in expansion of macro '__SYSCALL_X32'
369 | __SYSCALL_X32(545, sys_execveat)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:370:1: note: in expansion of macro '__SYSCALL_X32'
370 | __SYSCALL_X32(546, compat_sys_preadv64v2)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[546]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:370:1: note: in expansion of macro '__SYSCALL_X32'
370 | __SYSCALL_X32(546, compat_sys_preadv64v2)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: warning: initialized field overwritten [-Woverride-init]
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:371:1: note: in expansion of macro '__SYSCALL_X32'
371 | __SYSCALL_X32(547, compat_sys_pwritev64v2)
| ^~~~~~~~~~~~~
arch/x86/entry/syscall_x32.c:26:39: note: (near initialization for 'x32_sys_call_table[547]')
26 | #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
| ^~~~~~
./arch/x86/include/generated/asm/syscalls_64.h:371:1: note: in expansion of macro '__SYSCALL_X32'
371 | __SYSCALL_X32(547, compat_sys_pwritev64v2)
| ^~~~~~~~~~~~~
vim +/__x32_sys_execve +26 arch/x86/entry/syscall_x32.c
2e487c357917b9 Brian Gerst 2020-03-13 25
cab56d3484d4bb Brian Gerst 2020-03-13 @26 #define __SYSCALL_X32(nr, sym) [nr] = __x32_##sym,
cab56d3484d4bb Brian Gerst 2020-03-13 27 #define __SYSCALL_COMMON(nr, sym) [nr] = __x64_##sym,
2e487c357917b9 Brian Gerst 2020-03-13 28
:::::: The code at line 26 was first introduced by commit
:::::: cab56d3484d4bb8b21e4d9500392ac1ce99af026 x86/entry: Remove ABI prefixes from functions in syscall tables
:::::: TO: Brian Gerst <brgerst(a)gmail.com>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[kaccardi:fg-kaslr 4/10] ld.lld: error: failed to open drivers/net/ethernet/huawei/hinic/hinic.o: Cannot allocate memory
by kernel test robot
TO: Kristen C Accardi <kristen.c.accardi(a)intel.com>
tree: https://github.com/kaccardi/linux.git fg-kaslr
head: 89ae670e815bcbd2e07c92bfef01eb77715c5e04
commit: 7a7324f8e62c789f600eaa718c3ed1588d57f9d2 [4/10] x86: Makefile: Add build and config option for CONFIG_FG_KASLR
config: x86_64-allmodconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 7a7324f8e62c789f600eaa718c3ed1588d57f9d2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 <<):
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
>> ld.lld: error: failed to open drivers/net/ethernet/huawei/hinic/hinic.o: Cannot allocate memory
#0 0x000055ee9409f90a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c390a)
#1 0x000055ee9409d815 llvm::sys::RunSignalHandlers() (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1815)
#2 0x000055ee9409d932 SignalHandler(int) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1932)
#3 0x00007f0a1821f730 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12730)
#4 0x00007f0a17d517bb raise (/lib/x86_64-linux-gnu/libc.so.6+0x377bb)
#5 0x00007f0a17d3c535 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22535)
#6 0x00007f0a18106983 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8c983)
#7 0x00007f0a1810c8c6 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x928c6)
#8 0x00007f0a1810c901 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92901)
#9 0x00007f0a1810cb34 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92b34)
#10 0x00007f0a18108a55 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8ea55)
#11 0x00007f0a18135dc9 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbdc9)
#12 0x000055ee969ad834 std::thread::_State_impl<std::_Bind_simple<llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'() ()> >::_M_run() (/opt/cross/clang-487ca07fcc/bin/lld+0x31d1834)
#13 0x00007f0a18135b2f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbb2f)
#14 0x00007f0a18214fa3 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa3)
#15 0x00007f0a17e134cf clone (/lib/x86_64-linux-gnu/libc.so.6+0xf94cf)
/bin/bash: line 1: 132689 Aborted ld.lld -m elf_x86_64 -z max-page-size=0x200000 -r -o drivers/net/ethernet/huawei/hinic/hinic.o drivers/net/ethernet/huawei/hinic/hinic_main.o drivers/net/ethernet/huawei/hinic/hinic_tx.o drivers/net/ethernet/huawei/hinic/hinic_rx.o drivers/net/ethernet/huawei/hinic/hinic_port.o drivers/net/ethernet/huawei/hinic/hinic_hw_dev.o drivers/net/ethernet/huawei/hinic/hinic_hw_io.o drivers/net/ethernet/huawei/hinic/hinic_hw_qp.o drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.o drivers/net/ethernet/huawei/hinic/hinic_hw_wq.o drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.o drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.o drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.o drivers/net/ethernet/huawei/hinic/hinic_hw_if.o drivers/net/ethernet/huawei/hinic/hinic_common.o drivers/net/ethernet/huawei/hinic/hinic_ethtool.o drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.o drivers/net/ethernet/huawei/hinic/hinic_sriov.o
--
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
>> ld.lld: error: failed to open drivers/net/wireless/st/cw1200/cw1200_core.o: Cannot allocate memory
#0 0x000055afbc0f790a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c390a)
#1 0x000055afbc0f5815 llvm::sys::RunSignalHandlers() (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1815)
#2 0x000055afbc0f5932 SignalHandler(int) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1932)
#3 0x00007f89c89ae730 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12730)
#4 0x00007f89c84e07bb raise (/lib/x86_64-linux-gnu/libc.so.6+0x377bb)
#5 0x00007f89c84cb535 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22535)
#6 0x00007f89c8895983 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8c983)
#7 0x00007f89c889b8c6 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x928c6)
#8 0x00007f89c889b901 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92901)
#9 0x00007f89c889bb34 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92b34)
#10 0x00007f89c8897a55 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8ea55)
#11 0x00007f89c88c4dc9 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbdc9)
#12 0x000055afbea05834 std::thread::_State_impl<std::_Bind_simple<llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'() ()> >::_M_run() (/opt/cross/clang-487ca07fcc/bin/lld+0x31d1834)
#13 0x00007f89c88c4b2f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbb2f)
#14 0x00007f89c89a3fa3 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa3)
#15 0x00007f89c85a24cf clone (/lib/x86_64-linux-gnu/libc.so.6+0xf94cf)
/bin/bash: line 1: 133033 Aborted ld.lld -m elf_x86_64 -z max-page-size=0x200000 -r -o drivers/net/wireless/st/cw1200/cw1200_core.o drivers/net/wireless/st/cw1200/fwio.o drivers/net/wireless/st/cw1200/txrx.o drivers/net/wireless/st/cw1200/main.o drivers/net/wireless/st/cw1200/queue.o drivers/net/wireless/st/cw1200/hwio.o drivers/net/wireless/st/cw1200/bh.o drivers/net/wireless/st/cw1200/wsm.o drivers/net/wireless/st/cw1200/sta.o drivers/net/wireless/st/cw1200/scan.o drivers/net/wireless/st/cw1200/debug.o drivers/net/wireless/st/cw1200/pm.o
--
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
>> ld.lld: error: failed to open drivers/crypto/qat/qat_common/intel_qat.o: Cannot allocate memory
#0 0x000056463620490a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c390a)
#1 0x0000564636202815 llvm::sys::RunSignalHandlers() (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1815)
#2 0x0000564636202932 SignalHandler(int) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1932)
#3 0x00007fd88c917730 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12730)
#4 0x00007fd88c4497bb raise (/lib/x86_64-linux-gnu/libc.so.6+0x377bb)
#5 0x00007fd88c434535 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22535)
#6 0x00007fd88c7fe983 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8c983)
#7 0x00007fd88c8048c6 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x928c6)
#8 0x00007fd88c804901 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92901)
#9 0x00007fd88c804b34 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92b34)
#10 0x00007fd88c800a55 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8ea55)
#11 0x00007fd88c82ddc9 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbdc9)
#12 0x0000564638b12834 std::thread::_State_impl<std::_Bind_simple<llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'() ()> >::_M_run() (/opt/cross/clang-487ca07fcc/bin/lld+0x31d1834)
#13 0x00007fd88c82db2f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbb2f)
#14 0x00007fd88c90cfa3 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa3)
#15 0x00007fd88c50b4cf clone (/lib/x86_64-linux-gnu/libc.so.6+0xf94cf)
/bin/bash: line 1: 3336 Aborted ld.lld -m elf_x86_64 -z max-page-size=0x200000 -r -o drivers/crypto/qat/qat_common/intel_qat.o drivers/crypto/qat/qat_common/adf_cfg.o drivers/crypto/qat/qat_common/adf_isr.o drivers/crypto/qat/qat_common/adf_ctl_drv.o drivers/crypto/qat/qat_common/adf_dev_mgr.o drivers/crypto/qat/qat_common/adf_init.o drivers/crypto/qat/qat_common/adf_accel_engine.o drivers/crypto/qat/qat_common/adf_aer.o drivers/crypto/qat/qat_common/adf_transport.o drivers/crypto/qat/qat_common/adf_admin.o drivers/crypto/qat/qat_common/adf_hw_arbiter.o drivers/crypto/qat/qat_common/qat_crypto.o drivers/crypto/qat/qat_common/qat_algs.o drivers/crypto/qat/qat_common/qat_asym_algs.o drivers/crypto/qat/qat_common/qat_uclo.o drivers/crypto/qat/qat_common/qat_hal.o drivers/crypto/qat/qat_common/adf_transport_debug.o drivers/crypto/qat/qat_common/adf_sriov.o drivers/crypto/qat/qat_common/adf_pf2vf_msg.o drivers/crypto/qat/qat_common/adf_vf2pf_msg.o drivers/crypto/qat/qat_common/adf_vf_isr.o
--
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
>> ld.lld: error: failed to open drivers/media/pci/cx18/cx18.o: Cannot allocate memory
#0 0x0000563e0fde790a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c390a)
#1 0x0000563e0fde5815 llvm::sys::RunSignalHandlers() (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1815)
#2 0x0000563e0fde5932 SignalHandler(int) (/opt/cross/clang-487ca07fcc/bin/lld+0x8c1932)
#3 0x00007fd4f6f27730 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12730)
#4 0x00007fd4f6a597bb raise (/lib/x86_64-linux-gnu/libc.so.6+0x377bb)
#5 0x00007fd4f6a44535 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22535)
#6 0x00007fd4f6e0e983 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8c983)
#7 0x00007fd4f6e148c6 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x928c6)
#8 0x00007fd4f6e14901 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92901)
#9 0x00007fd4f6e14b34 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x92b34)
#10 0x00007fd4f6e10a55 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8ea55)
#11 0x00007fd4f6e3ddc9 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbdc9)
#12 0x0000563e126f5834 std::thread::_State_impl<std::_Bind_simple<llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'() ()> >::_M_run() (/opt/cross/clang-487ca07fcc/bin/lld+0x31d1834)
#13 0x00007fd4f6e3db2f (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbbb2f)
#14 0x00007fd4f6f1cfa3 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7fa3)
#15 0x00007fd4f6b1b4cf clone (/lib/x86_64-linux-gnu/libc.so.6+0xf94cf)
/bin/bash: line 1: 22267 Aborted ld.lld -m elf_x86_64 -z max-page-size=0x200000 -r -o drivers/media/pci/cx18/cx18.o drivers/media/pci/cx18/cx18-driver.o drivers/media/pci/cx18/cx18-cards.o drivers/media/pci/cx18/cx18-i2c.o drivers/media/pci/cx18/cx18-firmware.o drivers/media/pci/cx18/cx18-gpio.o drivers/media/pci/cx18/cx18-queue.o drivers/media/pci/cx18/cx18-streams.o drivers/media/pci/cx18/cx18-fileops.o drivers/media/pci/cx18/cx18-ioctl.o drivers/media/pci/cx18/cx18-controls.o drivers/media/pci/cx18/cx18-mailbox.o drivers/media/pci/cx18/cx18-vbi.o drivers/media/pci/cx18/cx18-audio.o drivers/media/pci/cx18/cx18-video.o drivers/media/pci/cx18/cx18-irq.o drivers/media/pci/cx18/cx18-av-core.o drivers/media/pci/cx18/cx18-av-audio.o drivers/media/pci/cx18/cx18-av-firmware.o drivers/media/pci/cx18/cx18-av-vbi.o drivers/media/pci/cx18/cx18-scb.o drivers/media/pci/cx18/cx18-dvb.o drivers/media/pci/cx18/cx18-io.o
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH] arm64/panic: Unify all three existing notifier blocks
by kernel test robot
Hi Anshuman,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on soc/for-next v5.8-rc1 next-20200616]
[cannot apply to arm/for-next xlnx/master kvmarm/next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/arm64-panic-Un...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-allyesconfig (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
# 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 >>, old ones prefixed by <<):
>> arch/arm64/kernel/setup.c:403:6: warning: no previous prototype for 'dump_kernel_offset' [-Wmissing-prototypes]
403 | void dump_kernel_offset(void)
| ^~~~~~~~~~~~~~~~~~
vim +/dump_kernel_offset +403 arch/arm64/kernel/setup.c
402
> 403 void dump_kernel_offset(void)
404 {
405 const unsigned long offset = kaslr_offset();
406
407 if (IS_ENABLED(CONFIG_RANDOMIZE_BASE) && offset > 0) {
408 pr_emerg("Kernel Offset: 0x%lx from 0x%lx\n",
409 offset, KIMAGE_VADDR);
410 pr_emerg("PHYS_OFFSET: 0x%llx\n", PHYS_OFFSET);
411 } else {
412 pr_emerg("Kernel Offset: disabled\n");
413 }
414 }
415
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[chrome-os:chromeos-4.19 18/20] /tmp/vmscan-138434.s:13798: Error: bad expression
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 0c8c2eaf12587ba14280b4e6388198d0183841ca
commit: 269182567d367e317a1d63ba84756a6542cacd30 [18/20] FROMGIT: Bluetooth: btmrvl_sdio: Implement prevent_wake
config: s390-randconfig-r006-20200615 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390-linux-gnu
git checkout 269182567d367e317a1d63ba84756a6542cacd30
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
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 <<):
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:499:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:22:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0xff000000UL) >> 24)))
^
In file included from mm/vmscan.c:30:
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:499:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:120:12: note: expanded from macro '__swab32'
__fswab32(x))
^
In file included from mm/vmscan.c:30:
In file included from include/linux/blkdev.h:21:
In file included from include/linux/bio.h:28:
In file included from arch/s390/include/asm/io.h:79:
include/asm-generic/io.h:510:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:520:46: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew(cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:530:46: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel(cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:592:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:600:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:608:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:617:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:626:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:635:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:7:
In file included from include/linux/trace_seq.h:5:
include/linux/seq_buf.h:35:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
s->buffer = buf;
^ ~~~
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:10:
In file included from include/linux/perf_event.h:48:
include/linux/ftrace.h:706:9: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
addr = CALLER_ADDR1;
^~~~~~~~~~~~
include/linux/ftrace.h:693:38: note: expanded from macro 'CALLER_ADDR1'
#define CALLER_ADDR1 ((unsigned long)ftrace_return_address(1))
^~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/ftrace.h:16:34: note: expanded from macro 'ftrace_return_address'
#define ftrace_return_address(n) __builtin_return_address(n)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/vmscan.c:66:
In file included from include/trace/events/vmscan.h:597:
In file included from include/trace/define_trace.h:96:
In file included from include/trace/trace_events.h:20:
In file included from include/linux/trace_events.h:10:
In file included from include/linux/perf_event.h:48:
include/linux/ftrace.h:709:9: warning: calling '__builtin_return_address' with a nonzero argument is unsafe [-Wframe-address]
return CALLER_ADDR2;
^~~~~~~~~~~~
include/linux/ftrace.h:694:38: note: expanded from macro 'CALLER_ADDR2'
#define CALLER_ADDR2 ((unsigned long)ftrace_return_address(2))
^~~~~~~~~~~~~~~~~~~~~~~~
arch/s390/include/asm/ftrace.h:16:34: note: expanded from macro 'ftrace_return_address'
#define ftrace_return_address(n) __builtin_return_address(n)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
35 warnings generated.
/tmp/vmscan-138434.s: Assembler messages:
>> /tmp/vmscan-138434.s:13798: Error: bad expression
>> /tmp/vmscan-138434.s:13798: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:14765: Error: bad expression
/tmp/vmscan-138434.s:14765: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:18236: Error: bad expression
/tmp/vmscan-138434.s:18236: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:18908: Error: bad expression
/tmp/vmscan-138434.s:18908: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:23797: Error: bad expression
/tmp/vmscan-138434.s:23797: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:24101: Error: bad expression
/tmp/vmscan-138434.s:24101: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:25437: Error: bad expression
/tmp/vmscan-138434.s:25437: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:27800: Error: bad expression
/tmp/vmscan-138434.s:27800: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:30492: Error: bad expression
/tmp/vmscan-138434.s:30492: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:31770: Error: bad expression
/tmp/vmscan-138434.s:31770: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:32658: Error: bad expression
/tmp/vmscan-138434.s:32658: Error: junk at end of line, first unrecognized character is `r'
/tmp/vmscan-138434.s:35690: Error: bad expression
/tmp/vmscan-138434.s:35690: Error: junk at end of line, first unrecognized character is `r'
clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [RFC PATCH] sched_pair_cpu: Introduce scheduler task pairing system call
by kernel test robot
Hi Mathieu,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on tip/x86/asm]
[also build test WARNING on tip/sched/core]
[cannot apply to linus/master linux/master v5.8-rc1 next-20200616]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Mathieu-Desnoyers/sched_pair_cpu...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2ce0d7f9766f0e49bb54f149c77bae89464932fb
config: nds32-randconfig-c023-20200615 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
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 >>, old ones prefixed by <<):
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/nds32/kernel/asm-offsets.c:4:
include/linux/sched.h: In function 'sched_pair_cpu_set_notify_resume':
include/linux/sched.h:1913:13: error: 'struct task_struct' has no member named 'pair_cpu'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
<< from include/linux/sched.h:14,
>> include/linux/sched.h:1913:2: note: in expansion of macro 'if'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/sched.h:1913:13: error: 'struct task_struct' has no member named 'pair_cpu'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
<< from include/linux/sched.h:14,
>> include/linux/sched.h:1913:2: note: in expansion of macro 'if'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/sched.h:1913:13: error: 'struct task_struct' has no member named 'pair_cpu'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
69 | (cond) ? | ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^~~~~~~~~~~~~~
<< from include/linux/sched.h:14,
>> include/linux/sched.h:1913:2: note: in expansion of macro 'if'
1913 | if (current->pair_cpu >= 0)
| ^~
include/linux/sched.h: In function 'sched_pair_cpu_handle_notify_resume':
include/linux/sched.h:1928:13: error: 'struct task_struct' has no member named 'pair_cpu'
1928 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
include/linux/sched.h:1928:2: note: in expansion of macro 'if'
1928 | if (current->pair_cpu >= 0)
| ^~
include/linux/sched.h:1928:13: error: 'struct task_struct' has no member named 'pair_cpu'
1928 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^~~~
include/linux/sched.h:1928:2: note: in expansion of macro 'if'
1928 | if (current->pair_cpu >= 0)
| ^~
include/linux/sched.h:1928:13: error: 'struct task_struct' has no member named 'pair_cpu'
1928 | if (current->pair_cpu >= 0)
| ^~
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
69 | (cond) ? | ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
56 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^~~~~~~~~~~~~~
include/linux/sched.h:1928:2: note: in expansion of macro 'if'
1928 | if (current->pair_cpu >= 0)
| ^~
In file included from arch/nds32/kernel/asm-offsets.c:4:
include/linux/sched.h: In function 'sched_pair_cpu_fork':
include/linux/sched.h:1938:3: error: 'struct task_struct' has no member named 'pair_cpu'
1938 | t->pair_cpu = -1;
| ^~
include/linux/sched.h:1939:3: error: 'struct task_struct' has no member named 'pair_cpu_need_worker'
1939 | t->pair_cpu_need_worker = 0;
| ^~
include/linux/sched.h:1940:3: error: 'struct task_struct' has no member named 'pair_cpu_worker_active'
1940 | t->pair_cpu_worker_active = 0;
| ^~
include/linux/sched.h:1941:3: error: 'struct task_struct' has no member named 'pair_cpu_queued_work'
1941 | t->pair_cpu_queued_work = 0;
| ^~
include/linux/sched.h:1942:11: error: 'struct task_struct' has no member named 'pair_cpu_work'
1942 | memset(&t->pair_cpu_work, 0, sizeof(t->pair_cpu_work));
| ^~
include/linux/sched.h:1942:39: error: 'struct task_struct' has no member named 'pair_cpu_work'
1942 | memset(&t->pair_cpu_work, 0, sizeof(t->pair_cpu_work));
| ^~
make[2]: *** [scripts/Makefile.build:100: arch/nds32/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1141: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/if +1913 include/linux/sched.h
1910
1911 static inline void sched_pair_cpu_set_notify_resume(struct task_struct *t)
1912 {
> 1913 if (current->pair_cpu >= 0)
1914 set_tsk_thread_flag(t, TIF_NOTIFY_RESUME);
1915 }
1916
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months