From: ben.dooks@codethink.co.uk (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/9] ARM: fix missing include of <asm/insn.h> in arch/arm/kernel/insn.c
Date: Fri, 17 Jun 2016 16:05:06 +0100 [thread overview]
Message-ID: <1466175913-19067-3-git-send-email-ben.dooks@codethink.co.uk> (raw)
In-Reply-To: <1466175913-19067-1-git-send-email-ben.dooks@codethink.co.uk>
Fix the warning by including <asm/insn.h> for the declaration
of __arm_gen_branch().
arm/kernel/insn.c:56:1: warning: symbol '__arm_gen_branch' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/kernel/insn.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/kernel/insn.c b/arch/arm/kernel/insn.c
index b760340..5438934 100644
--- a/arch/arm/kernel/insn.c
+++ b/arch/arm/kernel/insn.c
@@ -1,6 +1,7 @@
#include <linux/bug.h>
#include <linux/kernel.h>
#include <asm/opcodes.h>
+#include <asm/insn.h>
static unsigned long
__arm_gen_branch_thumb2(unsigned long pc, unsigned long addr, bool link)
--
2.8.1
next prev parent reply other threads:[~2016-06-17 15:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1466175913-19067-1-git-send-email-ben.dooks@codethink.co.uk>
2016-06-17 15:05 ` [PATCH 1/9] ARM/PCI: Add declaration of pcibios_report_status Ben Dooks
2016-06-17 15:27 ` Arnd Bergmann
2016-06-17 15:05 ` Ben Dooks [this message]
2016-06-17 15:05 ` [PATCH 3/9] ARM: add missing <asm/prom.h> Ben Dooks
2016-06-17 15:08 ` Arnd Bergmann
2016-06-17 15:05 ` [PATCH 4/9] ARM: fix missing <asm/vga.h> in arch/arm/mm/iomap.c Ben Dooks
2016-06-17 15:05 ` [PATCH 5/9] ARM: fix missing <linux/elf-randomize.h> in arch/arm/mm/mmap.c Ben Dooks
2016-06-17 15:05 ` [PATCH 6/9] ARM: fix missing <asm/cacheflush.h> in arch/arm/mm/pageattr.c Ben Dooks
2016-06-17 15:05 ` [PATCH 7/9] ARM: probes: fix warning on NULL/0 substitution Ben Dooks
2016-06-17 15:05 ` [PATCH 9/9] [RFC] pci: include <asm/dma.h> for isa_dma_bridge_buggy Ben Dooks
2016-07-19 22:05 ` Bjorn Helgaas
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=1466175913-19067-3-git-send-email-ben.dooks@codethink.co.uk \
--to=ben.dooks@codethink.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).