[poky] Problem with patch implementation
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Apr 21 02:15:52 PDT 2011
On Thu, 2011-04-21 at 10:20 +0530, Sparsh Wid hope wrote:
> I am trying to apply patch through poky but it is not working. My
> patch is working when I'm trying it manually with following message :
> surya at spectracore-Vostro-220s-Series:~/Desktop/my_kernel/linux$ patch
> -Np1 -i ../../../Surya/pro/kernel_patch/beagle.patch patching file
> arch/arm/mach-omap2/board-omap3beagle.c
> Hunk #7 FAILED at 336.
> Hunk #8 succeeded at 376 (offset 6 lines).
> Hunk #9 succeeded at 406 (offset 6 lines).
> Hunk #10 succeeded at 422 (offset 6 lines).
> Hunk #11 succeeded at 463 (offset 6 lines).
> Hunk #12 succeeded at 514 (offset 6 lines).
> Hunk #13 succeeded at 572 (offset 6 lines).
> Hunk #14 succeeded at 654 (offset 6 lines).
> Hunk #15 succeeded at 670 (offset 6 lines).
> 1 out of 15 hunks FAILED -- saving rejects to file
> arch/arm/mach-omap2/board-omap3beagle.c.rej
> patching file drivers/input/touchscreen/tsc2007.c
> patching file drivers/video/omap2/displays/Kconfig
> patching file drivers/video/omap2/displays/Makefile
> patching file drivers/video/omap2/displays/panel-cmel-oled43.c
>
> but with poky do_patch is getting failed.
> I'm sending my PATCH FILE and ERROR LOG in attachments.
>
This is not a working patch, it has rejects as shown by the message "1
out of 15 hunks FAILED -- saving rejects to file". The offsets also show
the patch has issues too which should be fixed. Poky is perfectly
correct in failing to apply the patch as the patch is broken.
Cheers,
Richard
More information about the poky
mailing list