# 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/nds32le-linux/bin/nds32le-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-ld --version # < git log --format=%s --max-count=1 6bc3fe8e7e172d5584e529a04cf9eec946428768 # < make -s -j 120 ARCH=nds32 O=/kisskb/build/linus_nds32-defconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- defconfig # make -s -j 120 ARCH=nds32 O=/kisskb/build/linus_nds32-defconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- /kisskb/src/mm/mprotect.c: In function 'change_pte_range': /kisskb/src/mm/mprotect.c:42:20: warning: unused variable 'mm' [-Wunused-variable] struct mm_struct *mm = vma->vm_mm; ^~ Completed OK # rm -rf /kisskb/build/linus_nds32-defconfig_nds32le # Build took: 0:00:40.058702