# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 6bc3fe8e7e172d5584e529a04cf9eec946428768 # < make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/linus_mips-defconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-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:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/fdtable.h:11, from /kisskb/src/fs/notify/fanotify/fanotify.c:3: /kisskb/src/fs/notify/fanotify/fanotify.c: In function 'fanotify_encode_fid': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 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/fanotify/fanotify.c:249:2: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("fanotify: failed to encode fid (fsid=%x.%x, " ^ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 3 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/fanotify/fanotify.c:249:2: note: in expansion of macro 'pr_warn_ratelimited' pr_warn_ratelimited("fanotify: failed to encode fid (fsid=%x.%x, " ^ In file included from /kisskb/src/include/linux/kernel.h:15:0, 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/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/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/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: " ^ :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] FIT description: Linux 5.0.0-g6bc3fe8e7e17 Created: Tue Mar 12 07:46:30 2019 Image 0 (kernel@0) Description: Linux 5.0.0-g6bc3fe8e7e17 Created: Tue Mar 12 07:46:30 2019 Type: Kernel Image Compression: gzip compressed Data Size: 4535598 Bytes = 4429.29 KiB = 4.33 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80862d90 Hash algo: sha1 Hash value: 2cbf71be45223d56ecd6fe324d6484a40fdf566d Image 1 (fdt@boston) Description: img,boston Device Tree Created: Tue Mar 12 07:46:30 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Tue Mar 12 07:46:30 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Tue Mar 12 07:46:30 2019 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga Completed OK # rm -rf /kisskb/build/linus_mips-defconfig_mipsel # Build took: 0:00:59.752443