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

Add compatibility for kernels 5.19+ #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ademlabs
Copy link

The function usb_maxpacket now accepts only 2 parameters instead of 3 as from kernel 5.19. Added a check for builds running on older kernels and newer ones, and use the 2 parameter or 3 parameter function accordingly.

@ColemakDH
Copy link

I'm on 5.19, am I screwed? I just got an error saying that it has a bad return status on my kernel
Error! Bad return status for module build on kernel: 5.19.11-201.fsync.fc36.x86_64 (x86_64)
Do you know if I can do anything to get around this?

@ademlabs
Copy link
Author

ademlabs commented Oct 3, 2022

@ColemakDH your error might be unrelated to this patch. Can you post a full log?

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

Successfully merging this pull request may close these issues.

2 participants