Description: Make use of no_llseek conditional This symbol is NULL since 6.0-rc1, and has been removed in 6.12-rc1. . Dropping its use after 6.0 should allow this to build on older kernels still. Author: Simon Richter Bug-Debian: https://bugs.debian.org/1089500 Forwarded: no Last-Update: 2024-12-18 --- langford-0.0.20130228.orig/langford.c +++ langford-0.0.20130228/langford.c @@ -897,7 +897,9 @@ static const struct file_operations cdev .unlocked_ioctl = cdev_ioctl, .open = cdev_open, .release = cdev_release, +#if LINUX_VERSION_CODE <= KERNEL_VERSION(6,0,0) .llseek = no_llseek +#endif };