lwfinger / rtl8723bu

Driver for RTL8723BU
287 stars 146 forks source link

compile error in 6.7rc - incompatible pointer type #200

Closed philmmanjaro closed 11 months ago

philmmanjaro commented 11 months ago

rtl8723bu fails with:

/build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/os_dep/ioctl_cfg80211.c:5924:26: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Werror=incompatible-pointer-types]
 5924 |         .change_beacon = cfg80211_rtw_change_beacon,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/os_dep/ioctl_cfg80211.c:5924:26: note: (near initialization for ‘rtw_cfg80211_ops.change_beacon’)
  CC [M]  /build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/os_dep/rtw_proc.o
  CC [M]  /build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/hal/hal_intf.o
  CC [M]  /build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/hal/hal_com.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:243: /build/linux67-rtl8723bu/src/rtl8723bu-babd106ea5717da57e744ef7900a7098d504cd65/os_dep/ioctl_cfg80211.o] Error 1
make[2]: *** Waiting for unfinished jobs....
lwfinger commented 11 months ago

Fixed. Do a 'git pull'.

philmmanjaro commented 11 months ago

@lwfinger I see no git commit regarding this one ...

lwfinger commented 11 months ago

Sorry, I fixed the wrong repo yesterday. It should be good now.