All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>
Subject: Re: [GIT PULL for v3.15-rc1] media updates
Date: Fri, 04 Apr 2014 21:17:27 +0200	[thread overview]
Message-ID: <6647416.Eq0uqnt6If@avalon> (raw)
In-Reply-To: <CA+55aFwSA58-gbBBLHd87HBj6X-wZisE+9KDoxaJ1UrvqiyYFA@mail.gmail.com>

Hi Linus,

On Friday 04 April 2014 10:26:42 Linus Torvalds wrote:
> On Thu, Apr 3, 2014 at 9:11 AM, Mauro Carvalho Chehab wrote:
> > PS.: You'll find some minor conflicts between this changeset and upstream,
> > mainly due to some code that moved from V4L2 to OF subsystem.
> 
> That conflict was not at all minor, unless I were willing to do the
> merge incorrectly and just drop all changes from one side. Which is
> not how I do merges if I can at all avoid it.
> 
> The *trivial* merge would be to just take the
> of_graph_get_next_endpoint() function as it existed in its new
> location of drivers/of/base.c.
> 
> However, there were to clashing changes to that function (one in the
> original location, one in the new moved location). They were:
> 
>  - b9db140c1e46: "[media] v4l: of: Support empty port nodes"
>  - 4329b93b283c: "of: Reduce indentation in of_graph_get_next_endpoint"
> 
> and quite frankly, I think that the second commit was the much less
> interesting of the two, so *that* was the one I felt I should drop.
> But that made the merge a lot more interesting than just picking the
> new location (because the new location didn't have the important
> change). And those two changes clash to the point of being basically
> mutually exclusive.
> 
> So I did the complex merge that I think is the right thing by hand.
> 
> However, I feel a bit bad about that more merge, because I have
> absolutely no way to test my result. So I'm including here all the
> relevant people wrt those two commits, and my note from my merge
> message:
> 
>   NOTE! This merge effective drops commit 4329b93b283c ("of: Reduce
>   indentation in of_graph_get_next_endpoint").
> 
>   The of_graph_get_next_endpoint() function was moved and renamed by
>   commit fd9fdb78a9bf ("[media] of: move graph helpers from
>   drivers/media/v4l2-core to drivers/of").  It was originally called
>   v4l2_of_get_next_endpoint() and lived in the file
>   drivers/media/v4l2-core/v4l2-of.c.
> 
>   In that original location, it was then fixed to support empty port
>   nodes by commit b9db140c1e46 ("[media] v4l: of: Support empty port
>   nodes"), and that commit clashes badly with the dropped "Reduce
>   intendation" commit.  I had to choose one or the other, and decided
>   that the "Support empty port nodes" commit was more important
> 
> So guys, can you please verify the end result? It looks sane to me,
> but there's no good way for me to do even basic compile testing of the
> OF code, so this was all done entirely blind. And hey, maybe you
> disagree about the empty port nodes being the important case anyway.
> 
> Maybe I should have done the "wrong" merge just to avoid this issue,
> but I do hate doing that.

I've reviewed the merge and tested it, and all looks good. Thank you for not 
dropping my patch :-)

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2014-04-04 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03 16:11 [GIT PULL for v3.15-rc1] media updates Mauro Carvalho Chehab
2014-04-03 21:46 ` David Härdeman
2014-04-03 22:06   ` Mauro Carvalho Chehab
2014-04-04 17:26 ` Linus Torvalds
2014-04-04 19:17   ` Laurent Pinchart [this message]
2014-04-06  9:23     ` Philipp Zabel
2014-04-04 22:04 ` Linus Torvalds
2014-04-06 14:43   ` Mauro Carvalho Chehab
2014-04-05 11:20 ` [PATCH] [media] drx-j: use customise option correctly Paul Bolle

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=6647416.Eq0uqnt6If@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=p.zabel@pengutronix.de \
    --cc=s.nawrocki@samsung.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=torvalds@linux-foundation.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.