[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1438478977-25623-1-git-send-email-linux@roeck-us.net>
Date: Sat, 1 Aug 2015 18:29:37 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Mike Marshall <hubcap@...ibond.com>
Cc: linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>,
Mark Brown <broonie@...nel.org>
Subject: [PATCH] Orangefs: Swap order of include files
spinlock_types.h requires types from linux/types.h.
Including spinlock_types.h first may result in the following build errors,
as seen with arm:allmodconfig.
arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
Fixes: deb4fb58ff73 ("Orangefs: kernel client part 2")
Cc: Mark Brown <broonie@...nel.org>
Cc: Mike Marshall <hubcap@...ibond.com>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
fs/orangefs/protocol.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/orangefs/protocol.h b/fs/orangefs/protocol.h
index ca7cef9590d3..f571be21f66a 100644
--- a/fs/orangefs/protocol.h
+++ b/fs/orangefs/protocol.h
@@ -1,5 +1,5 @@
-#include <linux/spinlock_types.h>
#include <linux/types.h>
+#include <linux/spinlock_types.h>
#include <linux/slab.h>
#include <linux/ioctl.h>
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists