All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Russell King <linux@armlinux.org.uk>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Pavel Machek <pavel@ucw.cz>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	Tony Lindgren <tony@atomide.com>, Dave Gerlach <d-gerlach@ti.com>,
	linux-omap@vger.kernel.org, Johan Hovold <johan@kernel.org>
Subject: [PATCH 1/2] ARM: scu: add missing errno include
Date: Tue,  4 Jul 2017 15:25:41 +0200	[thread overview]
Message-ID: <20170704132542.27644-2-johan@kernel.org> (raw)
In-Reply-To: <20170704132542.27644-1-johan@kernel.org>

Add missing errno include to make the header self-contained and avoid
compilation breakage when compiling shared code without
CONFIG_HAVE_ARM_SCU.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 arch/arm/include/asm/smp_scu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h
index bfe163c40024..5983f6bc62d5 100644
--- a/arch/arm/include/asm/smp_scu.h
+++ b/arch/arm/include/asm/smp_scu.h
@@ -7,6 +7,7 @@
 
 #ifndef __ASSEMBLER__
 
+#include <linux/errno.h>
 #include <asm/cputype.h>
 
 static inline bool scu_a9_has_base(void)
-- 
2.13.2

WARNING: multiple messages have this Message-ID (diff)
From: johan@kernel.org (Johan Hovold)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: scu: add missing errno include
Date: Tue,  4 Jul 2017 15:25:41 +0200	[thread overview]
Message-ID: <20170704132542.27644-2-johan@kernel.org> (raw)
In-Reply-To: <20170704132542.27644-1-johan@kernel.org>

Add missing errno include to make the header self-contained and avoid
compilation breakage when compiling shared code without
CONFIG_HAVE_ARM_SCU.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 arch/arm/include/asm/smp_scu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h
index bfe163c40024..5983f6bc62d5 100644
--- a/arch/arm/include/asm/smp_scu.h
+++ b/arch/arm/include/asm/smp_scu.h
@@ -7,6 +7,7 @@
 
 #ifndef __ASSEMBLER__
 
+#include <linux/errno.h>
 #include <asm/cputype.h>
 
 static inline bool scu_a9_has_base(void)
-- 
2.13.2

  reply	other threads:[~2017-07-04 13:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04 13:25 [PATCH 0/2] ARM: add missing includes to header files Johan Hovold
2017-07-04 13:25 ` Johan Hovold
2017-07-04 13:25 ` Johan Hovold
2017-07-04 13:25 ` Johan Hovold [this message]
2017-07-04 13:25   ` [PATCH 1/2] ARM: scu: add missing errno include Johan Hovold
2017-07-04 13:25 ` [PATCH 2/2] ARM: pm: add missing types include Johan Hovold
2017-07-04 13:25   ` Johan Hovold
2017-07-05 16:01   ` Pavel Machek
2017-07-05 16:01     ` Pavel Machek
2017-07-06 15:16 ` [PATCH 0/2] ARM: add missing includes to header files Russell King - ARM Linux
2017-07-06 15:16   ` Russell King - ARM Linux
2017-07-24 13:01   ` Johan Hovold
2017-07-24 13:01     ` Johan Hovold

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=20170704132542.27644-2-johan@kernel.org \
    --to=johan@kernel.org \
    --cc=d-gerlach@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=tony@atomide.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.