maccuaa / asus-ac53-rtl8822bu

Asus AC53 Nano - RTL8822BU
36 stars 6 forks source link

Fails to compile with kernel-5.2.5-200.fc30.x86_64 #1

Closed bradfordcp closed 5 years ago

bradfordcp commented 5 years ago
/home/bradfordcp/src/asus-ac53-rtl8822bu/os_dep/linux/os_intfs.c:1431:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *)’} from incompatible pointer type ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *))’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *))’} [-Werror=incompatible-pointer-types]
 1431 |  .ndo_select_queue = rtw_select_queue,
      |                      ^~~~~~~~~~~~~~~~
bradfordcp commented 5 years ago

build.log Attached the complete build.log which was made with make 2>&1 | tee build.log

maccuaa commented 5 years ago

Thanks for raising the issue. I'll take a look at this tonight.

bradfordcp commented 5 years ago

For what it's worth your commit fixed my issue. This is now up and stable through kernel-5.2.7-200