Buildresult: linus/sun3_defconfig/m68k-gcc8 built on Dec 22, 04:55
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Dec 22, 04:55
Duration:
0:00:57.712156
Builder:
ka4
Revision:
posix-timers: Get rid of [COMPAT_]SYS_NI() uses (
a4aebe936554dac6a91e5d091179c934f8325708)
Target:
linus/sun3_defconfig/m68k-gcc8
Branch:
linus
Compiler:
m68k-gcc8
(m68k-linux-gcc (GCC) 8.5.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
sun3_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
drivers/net/ethernet/i825xx/sun3_82586.c:990:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds]
Full Log
# git rev-parse -q --verify a4aebe936554dac6a91e5d091179c934f8325708^{commit} a4aebe936554dac6a91e5d091179c934f8325708 already have revision, skipping fetch # git checkout -q -f -B kisskb a4aebe936554dac6a91e5d091179c934f8325708 # git clean -qxdf # < git log -1 # commit a4aebe936554dac6a91e5d091179c934f8325708 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Tue Dec 19 15:26:59 2023 -0800 # # posix-timers: Get rid of [COMPAT_]SYS_NI() uses # # Only the posix timer system calls use this (when the posix timer support # is disabled, which does not actually happen in any normal case), because # they had debug code to print out a warning about missing system calls. # # Get rid of that special case, and just use the standard COND_SYSCALL # interface that creates weak system call stubs that return -ENOSYS for # when the system call does not exist. # # This fixes a kCFI issue with the SYS_NI() hackery: # # CFI failure at int80_emulation+0x67/0xb0 (target: sys_ni_posix_timers+0x0/0x70; expected type: 0xb02b34d9) # WARNING: CPU: 0 PID: 48 at int80_emulation+0x67/0xb0 # # Reported-by: kernel test robot <oliver.sang@intel.com> # Reviewed-by: Sami Tolvanen <samitolvanen@google.com> # Tested-by: Sami Tolvanen <samitolvanen@google.com> # Cc: Thomas Gleixner <tglx@linutronix.de> # Cc: Dave Hansen <dave.hansen@linux.intel.com> # Cc: Borislav Petkov <bp@alien8.de> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 a4aebe936554dac6a91e5d091179c934f8325708 # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:14, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:566, from /kisskb/src/include/linux/bitops.h:68, from /kisskb/src/include/linux/kernel.h:23, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:32: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:108: warning: array subscript 1 is above array bounds of 'volatile struct transmit_cmd_struct *[1]' [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ~~~~~~~~~~~~^~~ /kisskb/src/include/uapi/linux/swab.h:107:12: note: in definition of macro '__swab16' __fswab16(x)) ^ /kisskb/src/include/linux/printk.h:455:26: note: in expansion of macro 'printk_index_wrap' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:990:3: note: in expansion of macro 'printk' printk("%s: command-stats: %04x %04x\n",dev->name,swab16(p->xmit_cmds[0]->cmd_status),swab16(p->xmit_cmds[1]->cmd_status)); ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:00:57.712156
© Michael Ellerman 2006-2018.