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

ubuntu 22.04 compile error: control reaches end of non-void function [-Werror=return-type] #245

Closed
MenglingD opened this issue May 21, 2022 · 1 comment

Comments

@MenglingD
Copy link

Compile error arised via g++/gcc version: g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0:

...
/var/lib/dkms/8812au/4.2.3/build/core/rtw_mp.c: In function ‘mp_xmit_packet_thread’:
/var/lib/dkms/8812au/4.2.3/build/core/rtw_mp.c:1182:1: error: no return statement in function returning non-void [-Werror=return-type]
 1182 | }

...

/var/lib/rrtl8812au/build/core/rtw_cmd.c:557:3: error: ‘return’ with no value, in function returning non-void [-Werror=return-type]
  557 |   return;
@MenglingD
Copy link
Author

fix by kthread_complete_and_exit #244

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

1 participant