* [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include
@ 2010-01-18 2:57 Peter Huewe
2010-01-18 4:02 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Peter Huewe @ 2010-01-18 2:57 UTC (permalink / raw)
To: Paul Mundt
Cc: Matt Fleming, Francesco Virlinzi, linux-sh, linux-kernel,
peterhuewe
From: Peter Huewe <peterhuewe@gmx.de>
Date: Mon, 18 Jan 2010 03:48:31 +0100
This patch fixes a build failure[1][2] for all sh configs, by fixing a
missing semicolon and a missing include file.
Build failure was introduced by the patch
sh: fixed PMB mode refactoring [3]
of Wed, 13 Jan 2010 09:31:48 +0000 (18:31 +0900)
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2019836/
[2] http://kisskb.ellerman.id.au/kisskb/compiler/16/
[3] http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h ab36689a36e583b6e736f1c99ac8c9aebdad59
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
Patch against linux-next tree of 20100114
KernelVersion: next-20100114
arch/sh/include/asm/mmu.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index 4b0882b..c5313e2 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -1,5 +1,6 @@
#ifndef __MMU_H
#define __MMU_H
+#include <linux/errno.h>
/*
* Privileged Space Mapping Buffer (PMB) definitions
@@ -75,7 +76,7 @@ int pmb_init(void);
static inline long pmb_remap(unsigned long virt, unsigned long phys,
unsigned long size, unsigned long flags)
{
- return -EINVAL
+ return -EINVAL;
}
static inline void pmb_unmap(unsigned long addr)
--
1.6.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include
2010-01-18 2:57 [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include Peter Huewe
@ 2010-01-18 4:02 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-01-18 4:02 UTC (permalink / raw)
To: Peter Huewe; +Cc: Matt Fleming, Francesco Virlinzi, linux-sh, linux-kernel
On Mon, Jan 18, 2010 at 03:57:31AM +0100, Peter Huewe wrote:
> From: Peter Huewe <peterhuewe@gmx.de>
> Date: Mon, 18 Jan 2010 03:48:31 +0100
>
> This patch fixes a build failure[1][2] for all sh configs, by fixing a
> missing semicolon and a missing include file.
>
> Build failure was introduced by the patch
> sh: fixed PMB mode refactoring [3]
> of Wed, 13 Jan 2010 09:31:48 +0000 (18:31 +0900)
>
This was already caught and corrected, thanks anyways.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-18 4:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 2:57 [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include Peter Huewe
2010-01-18 4:02 ` Paul Mundt
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).