From f3bb361f74f407d3857a8c5b3a623feef20b6799 Mon Sep 17 00:00:00 2001 From: Funs Date: Mon, 15 Jun 2020 09:15:20 -0700 Subject: [PATCH] older compilers don't like -Werror=frame-larger-than=. As there is already a -Werror, just us -Wframe-larger-than, as other tests also seem to do --- root/usr/src/iomemory-vsl-3.2.16/check_target_kernel.conf | 4 ++-- root/usr/src/iomemory-vsl-3.2.16/kfio_config_add.sh | 2 +- root/usr/src/iomemory-vsl-3.2.16/license.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/root/usr/src/iomemory-vsl-3.2.16/check_target_kernel.conf b/root/usr/src/iomemory-vsl-3.2.16/check_target_kernel.conf index 61da0b6..e627830 100644 --- a/root/usr/src/iomemory-vsl-3.2.16/check_target_kernel.conf +++ b/root/usr/src/iomemory-vsl-3.2.16/check_target_kernel.conf @@ -1,2 +1,2 @@ -PREV_KERNELVER="5.3.0-45-generic" -PREV_KERNEL_SRC="/lib/modules/5.3.0-45-generic/build" +PREV_KERNELVER="5.3.0-59-generic" +PREV_KERNEL_SRC="/lib/modules/5.3.0-59-generic/build" diff --git a/root/usr/src/iomemory-vsl-3.2.16/kfio_config_add.sh b/root/usr/src/iomemory-vsl-3.2.16/kfio_config_add.sh index 5b8f75d..a0578c6 100644 --- a/root/usr/src/iomemory-vsl-3.2.16/kfio_config_add.sh +++ b/root/usr/src/iomemory-vsl-3.2.16/kfio_config_add.sh @@ -217,7 +217,7 @@ void has_queue_blk_queue_flag_ops(void) blk_queue_flag_clear(0, &q); } ' - kfioc_test "$test_code" "$test_flag" 1 "-Werror -Werror=frame-larger-than=4096" + kfioc_test "$test_code" "$test_flag" 1 "-Werror -Wframe-larger-than=4096" } # flag: KFIOC_X_BIO_HAS_ERROR diff --git a/root/usr/src/iomemory-vsl-3.2.16/license.c b/root/usr/src/iomemory-vsl-3.2.16/license.c index 0f6328c..7f850a1 100644 --- a/root/usr/src/iomemory-vsl-3.2.16/license.c +++ b/root/usr/src/iomemory-vsl-3.2.16/license.c @@ -1,3 +1,3 @@ #include "linux/module.h" MODULE_LICENSE("GPL"); -MODULE_VERSION("8d44c50"); +MODULE_VERSION("2a18ca0");