# git rev-parse -q --verify 6bc3fe8e7e172d5584e529a04cf9eec946428768^{commit} 6bc3fe8e7e172d5584e529a04cf9eec946428768 already have revision, skipping fetch # git checkout -q -f -B kisskb 6bc3fe8e7e172d5584e529a04cf9eec946428768 # git clean -qxdf # < git log -1 # commit 6bc3fe8e7e172d5584e529a04cf9eec946428768 # Author: Linus Torvalds # Date: Mon Mar 11 10:10:29 2019 -0700 # # tools: mark 'test_vmalloc.sh' executable # # Several of these scripts have come in as old-fashioned patches, and in # the process lost the executable bit. In most cases it doesn't matter, # since the test infrastructure will explicitly execute them using the # proper shell interpreter, but at least in the case of the new vmalloc # test, the lack of execurable bit caused the test to fail with # # ./run_vmtests: line 217: ./test_vmalloc.sh: Permission denied # # because of the lacking exectuable permissions bit. # # This patch fixes that up. # # NOTE! A simple script to look for non-executable scripts in the kernel, # something like # # git ls-files --stage -- '*.sh' | # grep 100644 | # cut -f2 | # xargs grep -l '#!' # # will show that there's a lot of other files that _look_ like executable # shell scripts, but don't have the executable bit set. I considered just # scripting them all to be executable, but since it looks like the common # pattern is to not really require it, I'm just doing the minimal fix as # pointed out by the kernel test robot. # # Fixes: a05ef00c9790 ("selftests/vm: add script helper for CONFIG_TEST_VMALLOC_MODULE") # Reported-by: kernel test robot # Cc: Andrew Morton # Cc: Uladzislau Rezki # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 6bc3fe8e7e172d5584e529a04cf9eec946428768 # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- malta_defconfig # make -s -j 48 ARCH=mips O=/kisskb/build/linus_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- :1478:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/notify/mark.c:76: /kisskb/src/fs/notify/mark.c: In function 'fsnotify_add_mark_list': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ /kisskb/src/include/linux/printk.h:423:10: note: in definition of macro 'printk_ratelimited' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:439:21: note: in expansion of macro 'KERN_WARNING' printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:587:3: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("%s: fsid mismatch on object of type %u: " ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:588:11: note: format string is defined here "%x.%x != %x.%x\n", __func__, conn->type, ~^ %lx In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/notify/mark.c:76: /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ /kisskb/src/include/linux/printk.h:423:10: note: in definition of macro 'printk_ratelimited' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:439:21: note: in expansion of macro 'KERN_WARNING' printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:587:3: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("%s: fsid mismatch on object of type %u: " ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:588:14: note: format string is defined here "%x.%x != %x.%x\n", __func__, conn->type, ~^ %lx In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/notify/mark.c:76: /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ /kisskb/src/include/linux/printk.h:423:10: note: in definition of macro 'printk_ratelimited' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:439:21: note: in expansion of macro 'KERN_WARNING' printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:587:3: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("%s: fsid mismatch on object of type %u: " ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:588:20: note: format string is defined here "%x.%x != %x.%x\n", __func__, conn->type, ~^ %lx In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/notify/mark.c:76: /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^~~~~~ /kisskb/src/include/linux/printk.h:423:10: note: in definition of macro 'printk_ratelimited' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:439:21: note: in expansion of macro 'KERN_WARNING' printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:587:3: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("%s: fsid mismatch on object of type %u: " ^~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/notify/mark.c:588:23: note: format string is defined here "%x.%x != %x.%x\n", __func__, conn->type, ~^ %lx Completed OK # rm -rf /kisskb/build/linus_malta_defconfig_mips-gcc8 # Build took: 0:02:37.985325