# git rev-parse -q --verify 64e34b50d7aeee7082287ec39f9d34d4e60f3a04^{commit} 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 already have revision, skipping fetch # git checkout -q -f -B kisskb 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # git clean -qxdf # < git log -1 # commit 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # Merge: 1c6d2ead87e9 e7eaffce47b7 # Author: Linus Torvalds # Date: Wed May 25 11:32:53 2022 -0700 # # Merge tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest # # Pull KUnit updates from Shuah Khan: # "Several fixes, cleanups, and enhancements to tests and framework: # # - introduce _NULL and _NOT_NULL macros to pointer error checks # # - rework kunit_resource allocation policy to fix memory leaks when # caller doesn't specify free() function to be used when allocating # memory using kunit_add_resource() and kunit_alloc_resource() funcs. # # - add ability to specify suite-level init and exit functions" # # * tag 'linux-kselftest-kunit-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (41 commits) # kunit: tool: Use qemu-system-i386 for i386 runs # kunit: fix executor OOM error handling logic on non-UML # kunit: tool: update riscv QEMU config with new serial dependency # kcsan: test: use new suite_{init,exit} support # kunit: tool: Add list of all valid test configs on UML # kunit: take `kunit_assert` as `const` # kunit: tool: misc cleanups # kunit: tool: minor cosmetic cleanups in kunit_parser.py # kunit: tool: make parser stop overwriting status of suites w/ no_tests # kunit: tool: remove dead parse_crash_in_log() logic # kunit: tool: print clearer error message when there's no TAP output # kunit: tool: stop using a shell to run kernel under QEMU # kunit: tool: update test counts summary line format # kunit: bail out of test filtering logic quicker if OOM # lib/Kconfig.debug: change KUnit tests to default to KUNIT_ALL_TESTS # kunit: Rework kunit_resource allocation policy # kunit: fix debugfs code to use enum kunit_status, not bool # kfence: test: use new suite_{init/exit} support, add .kunitconfig # kunit: add ability to specify suite-level init and exit functions # kunit: rename print_subtest_{start,end} for clarity (s/subtest/suite) # ... # < /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 64e34b50d7aeee7082287ec39f9d34d4e60f3a04 # < make -s -j 120 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 120 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 120 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 120 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:529, from /kisskb/src/include/linux/bitops.h:33, from /kisskb/src/include/linux/kernel.h:22, from /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:31: /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c: In function 'sun3_82586_timeout': /kisskb/src/drivers/net/ethernet/i825xx/sun3_82586.c:989: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:476: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:989: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:38.086451