Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
27 lines
525 B
Diff
27 lines
525 B
Diff
https://github.com/torvalds/linux/commit/5f60d5f6bbc12e782fac78110b0ee62698f3b576
|
|
---
|
|
veikk_vdev.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/veikk_vdev.c b/veikk_vdev.c
|
|
index 9d0b49f..83e9efa 100644
|
|
--- a/veikk_vdev.c
|
|
+++ b/veikk_vdev.c
|
|
@@ -6,7 +6,13 @@
|
|
* - Set up the module parameters
|
|
*/
|
|
|
|
+#include <linux/version.h>
|
|
+
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0)
|
|
#include <asm/unaligned.h>
|
|
+#else
|
|
+#include <linux/unaligned.h>
|
|
+#endif
|
|
#include <linux/module.h>
|
|
#include "veikk.h"
|
|
|
|
--
|
|
2.49.0
|
|
|