Skip to content

Add compatibility for kernels 5.19+#2

Open
ademlabs wants to merge 1 commit intoSkyl3r:masterfrom
ademlabs:master
Open

Add compatibility for kernels 5.19+#2
ademlabs wants to merge 1 commit intoSkyl3r:masterfrom
ademlabs:master

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