From 47a371b50fea95f8175f699613716ffc4a167de6 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Wed, 8 Apr 2026 14:35:18 +0300 Subject: [PATCH] scst_vdisk: Include for kernels v6.4+ Hex helpers were moved to in kernel v6.4, and kernel v7.0 no longer pulls that header in indirectly, so include it explicitly. --- scst/src/dev_handlers/scst_vdisk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index cf9ba14b5..9b821a986 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -58,6 +58,9 @@ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) #include #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0) +#include +#endif #define LOG_PREFIX "dev_vdisk"