From 73e2c845360e543a2d3cf85d7a8a0f68688903fe Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 6 Aug 2025 15:25:15 -0500 Subject: [PATCH 1/2] core: Omit no_llseek reference Linux removed the `no_llseek` symbol in 6.12. Before that, it was defined as `NULL` and unused. --- src/gasket_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gasket_core.c b/src/gasket_core.c index b1c2726..5402e2a 100644 --- a/src/gasket_core.c +++ b/src/gasket_core.c @@ -1373,7 +1373,9 @@ static long gasket_ioctl(struct file *filp, uint cmd, ulong arg) /* File operations for all Gasket devices. */ static const struct file_operations gasket_file_ops = { .owner = THIS_MODULE, +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) .llseek = no_llseek, +#endif .mmap = gasket_mmap, .open = gasket_open, .release = gasket_release, -- 2.50.1