summaryrefslogtreecommitdiff
path: root/sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-12 16:12:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-12 16:12:42 +0100
commitd54f8d4adc3a16940d43e04e1cfce1e56c8caf03 (patch)
tree311164e6b6e95c4dc75fa5c77e202324c1e35bbc /sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch
parentbfba3e2f3f1a4824e327dbbac833597756640366 (diff)
sys-kernel/broadcom-sta-dkms : revision bump
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch')
-rw-r--r--sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch b/sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch
new file mode 100644
index 00000000..3407c4ec
--- /dev/null
+++ b/sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch
@@ -0,0 +1,20 @@
+--- a/src/wl/sys/wl_linux.c 2015-09-19 00:47:30.000000000 +0200
++++ b/src/wl/sys/wl_linux.c 2022-03-22 10:39:20.763751076 +0100
+@@ -3244,7 +3244,7 @@
+ static ssize_t
+ wl_proc_read(struct file *filp, char __user *buffer, size_t length, loff_t *offp)
+ {
+- wl_info_t * wl = PDE_DATA(file_inode(filp));
++ wl_info_t * wl = pde_data(file_inode(filp));
+ #endif
+ int bcmerror, len;
+ int to_user = 0;
+@@ -3301,7 +3301,7 @@
+ static ssize_t
+ wl_proc_write(struct file *filp, const char __user *buff, size_t length, loff_t *offp)
+ {
+- wl_info_t * wl = PDE_DATA(file_inode(filp));
++ wl_info_t * wl = pde_data(file_inode(filp));
+ #endif
+ int from_user = 0;
+ int bcmerror;