X-Git-Url: https://git.pld-linux.org/?p=packages%2Fwl.git;a=blobdiff_plain;f=kernel-5.17.patch;fp=kernel-5.17.patch;h=65919787288b64e0245264730341c02dfe2bf039;hp=9753eaa83b8876ef244c638ce9bced3673d8b9c2;hb=2d967bf035162dea99fdaa0d1e0ac72bf2268533;hpb=0061e5647c1b262cf412420b2ceddb55dbd068db diff --git a/kernel-5.17.patch b/kernel-5.17.patch index 9753eaa..6591978 100644 --- a/kernel-5.17.patch +++ b/kernel-5.17.patch @@ -16,7 +16,7 @@ static ssize_t wl_proc_write(struct file *filp, const char __user *buff, size_t length, loff_t *offp) { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0) wl_info_t * wl = PDE_DATA(file_inode(filp)); +#else + wl_info_t * wl = pde_data(file_inode(filp));