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

Does not compile with my linux 4.11... #5

Open
yo6ial opened this issue Sep 21, 2018 · 1 comment
Open

Does not compile with my linux 4.11... #5

yo6ial opened this issue Sep 21, 2018 · 1 comment

Comments

@yo6ial
Copy link

yo6ial commented Sep 21, 2018

And perhaps newer linux with "raw_copy_from_user" but works great with r = copy_from_user (...);
despite running kernel >4.0
Compiler said implicit declaration of function, and from my limited coding experience, I assumed the raw_copy_from_user does not (no longer?) exist newer linux kernels.
Fixed by removing/commenting out lines 98, 99, 100 and 102.
This could be closed right away, I wrote it just to help others with a quick fix.

Many thanks for this code!!!
Tested with HELI-X v6.x and an Sanwa rds8000 radio. I experienced zero lag or extra jitter.

@kunalgrover05
Copy link

I am not sure if removing the code lines is safe.
I was able to compile by changing the header to include: https://stackoverflow.com/questions/46302524/copy-to-user-undefined-in-linux-kernel-version-4-12-8

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

2 participants