This is my attempt at getting around the warning message, but clearly, more work will need to be done to update the driver for post-5.17.
With just the following part of the patch the driver builds and runs fine on kernel 5.17-rc5. diff -Npaur a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c --- a/src/wl/sys/wl_linux.c 2015-09-18 18:47:30.000000000 -0400 +++ b/src/wl/sys/wl_linux.c 2022-02-22 13:49:55.219274100 -0500 @@ -73,6 +74,10 @@ #error "No support for Kernel Rev <= 2.4.5, As the older kernel revs doesn't support Tasklets" #endif +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0)) +#define PDE_DATA pde_data +#endif + #include <wlc_pub.h> #include <wl_dbg.h> #include <wlc_ethereal.h> ** Patch removed: "Updated patch which allows compile but still causes a warning" https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1961801/+attachment/5562822/+files/0030-add-support-for-Linux-5.17.patch ** Patch added: "0030-add-support-for-Linux-5.17.patch" https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1961801/+attachment/5562847/+files/0030-add-support-for-Linux-5.17.patch ** Summary changed: - bcmwl does not build with Kernel 5.17 + bcmwl builds with Kernel 5.17 w/ one small patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961801 Title: bcmwl builds with Kernel 5.17 w/ one small patch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1961801/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
