All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Sparsh Wid hope <sparsh150847@yahoo.com>
Cc: poky <poky@yoctoproject.org>
Subject: Re: Problem with patch implementation
Date: Thu, 21 Apr 2011 10:15:52 +0100	[thread overview]
Message-ID: <1303377352.5518.344.camel@rex> (raw)
In-Reply-To: <20666.63530.qm@web95720.mail.in.yahoo.com>

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@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



      reply	other threads:[~2011-04-21  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21  4:50 Problem with patch implementation Sparsh Wid hope
2011-04-21  9:15 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1303377352.5518.344.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=poky@yoctoproject.org \
    --cc=sparsh150847@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.