* [PATCH/linux-next] sh: userimask.c needs linux/stat.h
@ 2011-10-04 1:17 Nobuhiro Iwamatsu
2011-10-28 6:14 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2011-10-04 1:17 UTC (permalink / raw)
To: linux-sh
This fix the problem that S_IRUSR and S_IWUSR are not solved in userimask.c.
-----
CC drivers/usb/host/r8a66597-hcd.o
drivers/sh/intc/userimask.c:57: error: ‘S_IRUSR’ undeclared here (not in a function)
drivers/sh/intc/userimask.c:57: error: ‘S_IWUSR’ undeclared here (not in a function)
CC drivers/watchdog/shwdt.o
-----
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
drivers/sh/intc/userimask.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/sh/intc/userimask.c b/drivers/sh/intc/userimask.c
index e32304b..56bf933 100644
--- a/drivers/sh/intc/userimask.c
+++ b/drivers/sh/intc/userimask.c
@@ -13,6 +13,7 @@
#include <linux/sysdev.h>
#include <linux/init.h>
#include <linux/io.h>
+#include <linux/stat.h>
#include <asm/sizes.h>
#include "internals.h"
--
1.7.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH/linux-next] sh: userimask.c needs linux/stat.h
2011-10-04 1:17 [PATCH/linux-next] sh: userimask.c needs linux/stat.h Nobuhiro Iwamatsu
@ 2011-10-28 6:14 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-10-28 6:14 UTC (permalink / raw)
To: linux-sh
On Tue, Oct 04, 2011 at 10:17:21AM +0900, Nobuhiro Iwamatsu wrote:
> This fix the problem that S_IRUSR and S_IWUSR are not solved in userimask.c.
>
> -----
> CC drivers/usb/host/r8a66597-hcd.o
> drivers/sh/intc/userimask.c:57: error: ???S_IRUSR??? undeclared here (not in a function)
> drivers/sh/intc/userimask.c:57: error: ???S_IWUSR??? undeclared here (not in a function)
> CC drivers/watchdog/shwdt.o
> -----
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-28 6:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 1:17 [PATCH/linux-next] sh: userimask.c needs linux/stat.h Nobuhiro Iwamatsu
2011-10-28 6:14 ` 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).