Closed spycat88 closed 9 months ago
Merged. Thanks.
Sorry, but this causes compile errors on 6.8-rc0 (current Fedora Rawhide)
CC [M] /home/patronos/88x2bu-20210702/os_dep/linux/os_intfs.o
CC [M] /home/patronos/88x2bu-20210702/os_dep/linux/usb_intf.o
/home/patronos/88x2bu-20210702/os_dep/linux/usb_intf.c:366:17: error: ‘struct usb_driver’ has no member named ‘driver’
366 | .usbdrv.driver.shutdown = rtw_dev_shutdown,
| ^~
/home/patronos/88x2bu-20210702/os_dep/linux/usb_intf.c:366:35: error: initialization of ‘const char ’ from incompatible pointer type ‘void ()(struct device *)’ [-Wincompatible-pointer-types]
366 | .usbdrv.driver.shutdown = rtw_dev_shutdown,
| ^~~~
/home/patronos/88x2bu-20210702/os_dep/linux/usb_intf.c:366:35: note: (near initialization for ‘usb_drv.usbdrv.name’)
make[3]: [scripts/Makefile.build:243: /home/patronos/88x2bu-20210702/os_dep/linux/usb_intf.o] Error 1
make[2]: [/usr/src/kernels/6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64/Makefile:1930: /home/patronos/88x2bu-20210702] Error 2
make[1]: *** [Makefile:246: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64'
After removing the version check for 6.8.0 from usb_intf.c Line 365 everything works again. No single warning or compile issue.
@Patronos
Thanks for the post. I have been too busy to check kernel 6.8 but I think I need to take a look.
@morrownr
Just came back and wanted to report that with rc3 everthing works as expected. Fedora just build a new rc3 Kernel some hours ago. Still not in the testing repo, so I had to grab it manually. Everything compiles as expected. With rc0 it fails though.
@Patronos
I'll confirm that it looks good on 6.8 rc3. Tested on Ubuntu.
Hey, are you interested in making PR's for 8814au and 8852bu? Those are the only 2 repos here that aren't patched yet. It would save me the time I can use on other things I need to be doing. This site really takes a lot of time.
@morrownr
build tested against 6.8-rc3