Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails for kernel 6.10 #16

Closed
cl0ne opened this issue Jul 30, 2024 · 3 comments
Closed

Build fails for kernel 6.10 #16

cl0ne opened this issue Jul 30, 2024 · 3 comments

Comments

@cl0ne
Copy link

cl0ne commented Jul 30, 2024

Greetings!

dkms install for kernel 6.10 fails with the following error:

/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify':
/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:443:9: error: too many arguments to function 'cfg80211_ch_switch_notify'
  443 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service_linux.h:93,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8827:6: note: declared here
 8827 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

Could you please update this module so it can be built for kernel 6.10 as well?

@juanro49
Copy link
Owner

Greetings!

dkms install for kernel 6.10 fails with the following error:

/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify':
/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:443:9: error: too many arguments to function 'cfg80211_ch_switch_notify'
  443 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service_linux.h:93,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service.h:50,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/drv_types.h:27,
                 from /var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8827:6: note: declared here
 8827 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~

Could you please update this module so it can be built for kernel 6.10 as well?

Can you check with latest merged PR?

@KafCoppelia
Copy link
Contributor

I've tested on kernel 6.10+. #3 and #4 can be tested in depth.

@cl0ne
Copy link
Author

cl0ne commented Aug 21, 2024

@KafCoppelia @juanro49 Thanks! Successfully builds on 6.10.5

@cl0ne cl0ne closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants