mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user