# 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/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 6bc3fe8e7e172d5584e529a04cf9eec946428768 # < make -s -j 120 ARCH=mips O=/kisskb/build/linus_ip22_defconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- ip22_defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/linus_ip22_defconfig_mips CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/vdso/Makefile:39: MIPS VDSO requires binutils >= 2.25 :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] /kisskb/src/arch/mips/vdso/Makefile:39: MIPS VDSO requires binutils >= 2.25 /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/notify/mark.c: In function 'fsnotify_add_mark_list': /kisskb/src/fs/notify/mark.c:587:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat] /kisskb/src/fs/notify/mark.c:587:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long int' [-Wformat] /kisskb/src/fs/notify/mark.c:587:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long int' [-Wformat] /kisskb/src/fs/notify/mark.c:587:3: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1845:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1755:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] Completed OK # rm -rf /kisskb/build/linus_ip22_defconfig_mips # Build took: 0:00:41.119450