mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: "'Olof Johansson'" <olof@lixom.net>,
	"'Doug Anderson'" <dianders@chromium.org>
Cc: "'Arnd Bergmann'" <arnd@arndb.de>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,
	"'Russell King'" <linux@arm.linux.org.uk>,
	linux-kernel@vger.kernel.org
Subject: RE: [PATCH] ARM: EXYNOS: Avoid early use of of_machine_is_compatible()
Date: Fri, 30 Nov 2012 20:08:38 +0900	[thread overview]
Message-ID: <1d7701cdceeb$0c441fc0$24cc5f40$%kim@samsung.com> (raw)
In-Reply-To: <CAOesGMj9nw4230jBMyWR8L6c21iKvH-YHAQf8=MdTE-ANrZpgA@mail.gmail.com>

Olof Johansson wrote:
> 
> On Wed, Nov 28, 2012 at 8:16 AM, Doug Anderson <dianders@chromium.org>
> wrote:
> > Olof / Kukjin,
> >

[...]

> >>
> >> I really don't like splitting an if/else with an ifdef like this, it's
> fragile
> >> code and can be hard to follow.
> >
> > Agree.

Definitely, same here ;-)

> >> There's also a second build error with exynos_defconfig in the
> >> exynos5-dt.c board file due to a missing include. Teaches me to just
> apply
> >> patches without trying to build. :(
> >
> > In the tree I was testing against (the arm-soc/for-next branch at
> > 659b19ca3a77e2ac32fe84d95242653c75dd07c7) I see the include file in
> > the exynos5-dt.c file already.  In my tree it was added by "2eae613b:
> > ARM: EXYNOS: Add MFC device tree support".
> >
> > Your patch applies cleanly on mine but I end up with:
> >
> >   #include <linux/of_platform.h>
> >   #include <linux/of_fdt.h>
> >   #include <linux/serial_core.h>
> >   #include <linux/io.h>
> >   #include <linux/memblock.h>
> >   #include <linux/of_fdt.h>
> 
> Sigh, this is because people add includes out of alphabetical order.

Yeah.

> We'll just have to fix it up later, 

Sure, I will after release 3.8-rc1.

[...]
> 
> I've pushed out the branch with the patch applied (with the above
changed).
> 
Thanks for your fix.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.


      reply	other threads:[~2012-11-30 11:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 19:53 Doug Anderson
2012-11-27 22:11 ` Olof Johansson
2012-11-27 22:27   ` Kukjin Kim
2012-11-27 22:37     ` Olof Johansson
2012-11-28  5:23       ` Kukjin Kim
2012-11-28  6:05         ` Olof Johansson
2012-11-28 16:16           ` Doug Anderson
2012-11-28 17:44             ` Olof Johansson
2012-11-30 11:08               ` Kukjin Kim [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='1d7701cdceeb$0c441fc0$24cc5f40$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=arnd@arndb.de \
    --cc=dianders@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=olof@lixom.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome