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

patching 5.4 source fails #2

Open
saamc opened this issue Feb 15, 2021 · 2 comments
Open

patching 5.4 source fails #2

saamc opened this issue Feb 15, 2021 · 2 comments

Comments

@saamc
Copy link

saamc commented Feb 15, 2021

offset=6

is incompatible with "/" prefix in
--- a/ethtool.c
+++ b/ethtool.c

setup fails with output:

./setup 
Checking dependencies...
Done
Preparing dkms module source...
Using 5.4+ patch...
The text leading up to this was:
--------------------------
|--- a/ethtool.c
|+++ b/ethtool.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
...
!!! there is some error

The patch below fixed it

patch.txt

@durnezj
Copy link

durnezj commented Apr 5, 2021

Seconded, offset needs to be 1 for it to work here too. I am on kernel 5.4.109 .

@alvaroreig
Copy link

It worked for me as well, with kernel 5.4.0-72-generic.

Thanks a lot.

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

3 participants