From 3e16f63043e9b8a2d7aee2528197e8c7718b0c75 Mon Sep 17 00:00:00 2001 From: Brian M Date: Tue, 7 Apr 2026 08:08:01 -0700 Subject: [PATCH] scst/include/backport.h: backport kstrtobool kstrtobool was introduced in 4.6; older kernels have strtobool with an identical signature. --- scst/include/backport.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scst/include/backport.h b/scst/include/backport.h index d532f5fa8..cecc5aaa2 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -2242,4 +2242,9 @@ static inline int fc_block_rport(struct fc_rport *rport) #define TCM_ACA_TAG 0x24 #endif +/* ef951599074b lib: move strtobool() to kstrtobool() */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) +#define kstrtobool strtobool +#endif + #endif /* _SCST_BACKPORT_H_ */