All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: 'Olof Johansson' <olof@lixom.net>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org
Subject: Re: [GIT PULL] Samsung devel-2 for v3.5
Date: Wed, 16 May 2012 20:13:36 +0000	[thread overview]
Message-ID: <201205162013.37031.arnd@arndb.de> (raw)
In-Reply-To: <092f01cd332c$00df3c60$029db520$%kim@samsung.com>

On Wednesday 16 May 2012, Kukjin Kim wrote:

> Note, this branch has a dependency on next/cleanup-plat-s5p which is already
> in next/cleanup2 of arm-soc.
> 
> If any problems, please kindly let me know.

I've hit a build problem with exynos4_defconfig, which I fixed using this patch.

	Arnd
 
commit 820f3dd7964f1889baaaaa0c2ba45d05bb619f66
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Wed May 16 22:10:14 2012 +0200

    ARM: exynos: fix building with CONFIG_OF disabled
    
    irq_of_parse_and_map does not have an empty definition for the
    !CONFIG_OF case, so we should not try to call it then:
    
    arch/arm/mach-exynos/common.c: In function 'combiner_init':
    arch/arm/mach-exynos/common.c:576:3: warning: implicit declaration of function 'irq_of_parse_and_map'
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 9900158..4913471 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -568,7 +568,11 @@ void __init combiner_init(void __iomem *combiner_base, struct device_node *np)
 
 	for (i = 0; i < max_nr; i++) {
 		combiner_init_one(i, combiner_base + (i >> 2) * 0x10);
-		irq = np ? irq_of_parse_and_map(np, i) : IRQ_SPI(i);
+		irq = IRQ_SPI(i);
+#ifdef CONFIG_OF
+		if (np)
+			irq = irq_of_parse_and_map(np, i);
+#endif
 		combiner_cascade_irq(i, irq);
 	}
 }

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] Samsung devel-2 for v3.5
Date: Wed, 16 May 2012 20:13:36 +0000	[thread overview]
Message-ID: <201205162013.37031.arnd@arndb.de> (raw)
In-Reply-To: <092f01cd332c$00df3c60$029db520$%kim@samsung.com>

On Wednesday 16 May 2012, Kukjin Kim wrote:

> Note, this branch has a dependency on next/cleanup-plat-s5p which is already
> in next/cleanup2 of arm-soc.
> 
> If any problems, please kindly let me know.

I've hit a build problem with exynos4_defconfig, which I fixed using this patch.

	Arnd
 
commit 820f3dd7964f1889baaaaa0c2ba45d05bb619f66
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Wed May 16 22:10:14 2012 +0200

    ARM: exynos: fix building with CONFIG_OF disabled
    
    irq_of_parse_and_map does not have an empty definition for the
    !CONFIG_OF case, so we should not try to call it then:
    
    arch/arm/mach-exynos/common.c: In function 'combiner_init':
    arch/arm/mach-exynos/common.c:576:3: warning: implicit declaration of function 'irq_of_parse_and_map'
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 9900158..4913471 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -568,7 +568,11 @@ void __init combiner_init(void __iomem *combiner_base, struct device_node *np)
 
 	for (i = 0; i < max_nr; i++) {
 		combiner_init_one(i, combiner_base + (i >> 2) * 0x10);
-		irq = np ? irq_of_parse_and_map(np, i) : IRQ_SPI(i);
+		irq = IRQ_SPI(i);
+#ifdef CONFIG_OF
+		if (np)
+			irq = irq_of_parse_and_map(np, i);
+#endif
 		combiner_cascade_irq(i, irq);
 	}
 }

  parent reply	other threads:[~2012-05-16 20:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16  6:20 [GIT PULL] Samsung devel-2 for v3.5 Kukjin Kim
2012-05-16  6:20 ` Kukjin Kim
2012-05-16 14:31 ` Arnd Bergmann
2012-05-16 14:31   ` Arnd Bergmann
2012-05-16 20:13 ` Arnd Bergmann [this message]
2012-05-16 20:13   ` Arnd Bergmann
2012-05-17  2:51   ` Sachin Kamat
2012-05-17  2:51     ` Sachin Kamat
2012-05-17  6:52     ` Kukjin Kim
2012-05-17  6:52       ` Kukjin Kim
  -- strict thread matches above, loose matches on Subject: below --
2012-05-19 22:39 Kukjin Kim
2012-05-19 22:39 ` Kukjin Kim
2012-05-19 23:12 ` Olof Johansson
2012-05-19 23:12   ` Olof Johansson

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=201205162013.37031.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --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 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.