[packages/wl] - fix kernel version in patch for 5.17, rel 16

baggins baggins at pld-linux.org
Sat Apr 2 22:43:50 CEST 2022


commit 2d967bf035162dea99fdaa0d1e0ac72bf2268533
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 2 22:43:10 2022 +0200

    - fix kernel version in patch for 5.17, rel 16

 kernel-5.17.patch | 2 +-
 wl.spec           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wl.spec b/wl.spec
index c7dc4ad..1b51e0d 100644
--- a/wl.spec
+++ b/wl.spec
@@ -18,7 +18,7 @@ exit 1
 
 %define		_duplicate_files_terminate_build	0
 
-%define		rel	15
+%define		rel	16
 %define		pname	wl
 %define		file_ver	%(echo %{version} | tr . _)
 Summary:	Broadcom 802.11 a/b/g/n hybrid Linux networking device driver
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));
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wl.git/commitdiff/2d967bf035162dea99fdaa0d1e0ac72bf2268533



More information about the pld-cvs-commit mailing list