All of lore.kernel.org
 help / color / mirror / Atom feed
From: mike@compulab.co.il (Mike Rapoport)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [ARM] pxa/cm-x300: fix build breakage caused by	missing 'select CPU_PXA310'
Date: Wed, 16 Dec 2009 15:24:35 +0200	[thread overview]
Message-ID: <4B28DF93.3070701@compulab.co.il> (raw)
In-Reply-To: <20091215172326.GC15855@n2100.arm.linux.org.uk>

Russell King - ARM Linux wrote:
> On Tue, Dec 15, 2009 at 06:28:27PM +0200, Mike Rapoport wrote:
>> Eric,
>> Apparently Igor's patches for CM-X300 were not applied properly. Somehow
>> commit db205463fd24c0972ad2c4e4fafb1c76e51b4380
>> ([ARM] pxa/cm-x300: add PWM backlight support) introduced 'select HAVE_PWM'
>> to MACH_COLIBRY300 rather than CM-X300. I suspect that the same happened with
>> the patch that added 'select CPU_PXA310' to MACH_CM_X300. I'm not certain about
>> removing PWM support in Colibri, but MACH_CM_X300 need to get fixed.
> 
> You need to look at the original commit you mention above, and check
> whether it has been applied correctly.  If not, it needs to be reverted
> and the correct change applied.

I've checked the commit and the original patch, and it seems we've screwed it up
from the beginning while cherry-picking commits between branches...
However, the patch that adds 'select CPU_PXA310' ([1]) is correct and apparently
was not applied properly (commit def8252ddb9bc52434b2ac1d560a609c61849638,
[ARM] pxa/cm-x300: add support for PXA310 cpu).

How shall we continue? Eric, will you revert commit db205463f and I will resend
corrected PWM patch?

> This is one of the problems of patching Kconfig files that grow over
> time - diff only gives at most six lines of context (three lines either
> side), and it is possible to have those same six lines of context
> repeated several times in Kconfig files.  Now add an additional set of
> lines towards the start of the Kconfig file, and such a diff will get
> incorrectly applied.
> 
> Unfortunately, this is one of the down sides to using git apply over
> GNU patch - GNU patch will tell you if it applied a patch with an offset.
> git tools won't, so it's not obvious if a patch has been mis-applied.
> 

[1] http://article.gmane.org/gmane.linux.ports.arm.kernel/67022/match=igor+grinberg

-- 
Sincerely yours,
Mike.

  reply	other threads:[~2009-12-16 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-15 16:28 [PATCH] [ARM] pxa/cm-x300: fix build breakage caused by missing 'select CPU_PXA310' Mike Rapoport
2009-12-15 17:23 ` Russell King - ARM Linux
2009-12-16 13:24   ` Mike Rapoport [this message]
2009-12-16 13:25   ` Eric Miao

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=4B28DF93.3070701@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.