I tried several ways ie the enclosed code stripped - just starting with diff -- etc, etc AND with all explanation ie zd1211rw: etc, etc.
results
root@GIGA-slow-1104:/home/peter# patch -p1 < zd1211rw-kpatch
patching file drivers/net/wireless/zd1211rw/zd_mac.c
Hunk #1 FAILED at 160.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 982.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/zd1211rw/zd_mac.c.rej
root@GIGA-slow-1104:/home/peter# patch -p1 -i zd1211rw-kpatch
patching file drivers/net/wireless/zd1211rw/zd_mac.c
Hunk #1 FAILED at 160.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 982.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/zd1211rw/zd_mac.c.rej
root@GIGA-slow-1104:/home/peter# exit
did I make any mistake by copy/paste the code to an empty file ? then apply the patch from that file ?
I tried to find the zd_mac.c.rej file in drivers/net/wireless/zd1211rw ; there is no such file BUT the ...ko .
hello Fabio,
I tried several ways ie the enclosed code stripped - just starting with diff -- etc, etc AND with all explanation ie zd1211rw: etc, etc.
results
root@GIGA- slow-1104: /home/peter# patch -p1 < zd1211rw-kpatch net/wireless/ zd1211rw/ zd_mac. c net/wireless/ zd1211rw/ zd_mac. c.rej slow-1104: /home/peter# patch -p1 -i zd1211rw-kpatch net/wireless/ zd1211rw/ zd_mac. c net/wireless/ zd1211rw/ zd_mac. c.rej slow-1104: /home/peter# exit
patching file drivers/
Hunk #1 FAILED at 160.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 982.
3 out of 3 hunks FAILED -- saving rejects to file drivers/
root@GIGA-
patching file drivers/
Hunk #1 FAILED at 160.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 982.
3 out of 3 hunks FAILED -- saving rejects to file drivers/
root@GIGA-
did I make any mistake by copy/paste the code to an empty file ? then apply the patch from that file ? net/wireless/ zd1211rw ; there is no such file BUT the ...ko .
I tried to find the zd_mac.c.rej file in drivers/
regards.