From c87e440fabacc5627ee453642af3d53c0ea2a7e3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 14 Mar 2019 01:18:13 +0000 Subject: [PATCH 1/3] nightly build: Update kernel versions git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8052 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- nightly/conf/nightly.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nightly/conf/nightly.conf b/nightly/conf/nightly.conf index 5ca6436aa..b69632b48 100644 --- a/nightly/conf/nightly.conf +++ b/nightly/conf/nightly.conf @@ -3,19 +3,19 @@ ABT_DETAILS="x86_64" ABT_JOBS=5 ABT_KERNELS=" \ -5.0.1 \ -4.20.15-nc \ -4.19.28-nc \ +5.0.2 \ +4.20.16-nc \ +4.19.29-nc \ 4.18.18-nc \ 4.17.18-nc \ 4.16.18-nc \ 4.15.18-nc \ -4.14.105-nc \ +4.14.106-nc \ 4.13.16-nc \ 4.12.14-nc \ 4.11.12-nc \ 4.10.17-nc \ -4.9.162-nc \ +4.9.163-nc \ 4.8.17-nc \ 4.7.10-nc \ 4.6.7-nc \ From 4c09bc9db7428ce44c0e1286ed9a793a08093d82 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 14 Mar 2019 01:48:24 +0000 Subject: [PATCH 2/3] scst: Add a pr_warn_once() backport git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8053 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scst/include/backport.h b/scst/include/backport.h index 4a9e65f48..b938f89b8 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -789,6 +789,15 @@ static inline long get_user_pages_backport(unsigned long start, }) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38) +/* + * See also commit 16cb839f1332 ("include/linux/printk.h: add pr__once + * macros") # v2.6.38. + */ +#define pr_warn_once(fmt, ...) \ + printk_once(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35) /* * See also patch "kernel.h: add pr_warn for symmetry to dev_warn, From 304766529ed7b4ce17ed9ce0615c28d5f6edd975 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 14 Mar 2019 01:49:26 +0000 Subject: [PATCH 3/3] scripts/generate-kernel-patch: Only include fcst for kernel versions >= 2.6.37 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8054 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 8ecdecf1c..3573d77ad 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -219,7 +219,7 @@ else fi # Include fcst in the patch for kernel versions 2.6.33 and later. -if kernel_version_le "2.6.33" "${kver}"; then +if kernel_version_le "2.6.37" "${kver}"; then include_fcst="true" else include_fcst="false"