scst_vdisk: Include <linux/hex.h> for kernels v6.4+

Hex helpers were moved to <linux/hex.h> in kernel v6.4, and kernel v7.0
no longer pulls that header in indirectly, so include it explicitly.
This commit is contained in:
Gleb Chesnokov
2026-04-08 14:54:31 +03:00
parent eeae35607d
commit 47a371b50f
+3
View File
@@ -58,6 +58,9 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)
#include <linux/hex.h>
#endif
#define LOG_PREFIX "dev_vdisk"