[ltp] patch failing to kernel 2.6.22-14

Sin Tzu linux-thinkpad@linux-thinkpad.org
Mon, 7 Jan 2008 19:27:29 +0200


------=_Part_21653_4073934.1199726849610
Content-Type: multipart/alternative; 
	boundary="----=_Part_21654_15912906.1199726849611"

------=_Part_21654_15912906.1199726849611
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

the error log:

root@fishb0wl:/usr/src/linux-source-2.6.22# patch -p1 -i
/home/ghostcow/Desktop/thinkpad-acpi-0.18-20071203_v2.6.22.14.patch
Hunk #61 FAILED at 4024.
1 out of 93 hunks FAILED -- saving rejects to file
drivers/misc/thinkpad_acpi.c.rej

enclosed is my .rej file

what's wrong?

i'm on linux mint which is a variant of ubuntu 7.10 - they use the same
kernel same everything

------=_Part_21654_15912906.1199726849611
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

the error log:<br><br>root@fishb0wl:/usr/src/linux-source-2.6.22# patch -p1 -i /home/ghostcow/Desktop/thinkpad-acpi-0.18-20071203_v2.6.22.14.patch<br>Hunk #61 FAILED at 4024.<br>1 out of 93 hunks FAILED -- saving rejects to file drivers/misc/thinkpad_acpi.c.rej
<br><br>enclosed is my .rej file<br><br>what&#39;s wrong?<br><br>i&#39;m on linux mint which is a variant of ubuntu 7.10 - they use the same kernel same everything<br>

------=_Part_21654_15912906.1199726849611--

------=_Part_21653_4073934.1199726849610
Content-Type: application/x-reject; name=thinkpad_acpi.c.rej
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fb5acsln0
Content-Disposition: attachment; filename=thinkpad_acpi.c.rej

KioqKioqKioqKioqKioqIHN0YXRpYyBzdHJ1Y3QgaWJtX3N0cnVjdCBlY2R1bXBfZHJpdmVyX2Rh
dGEgPSB7CioqKiAyNjc3LDI3MDkgKioqKgogICAqIEJhY2tsaWdodC9icmlnaHRuZXNzIHN1YmRy
aXZlcgogICAqLwogIAotIHN0YXRpYyBzdHJ1Y3Q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