[PATCH 1/3] UBIFS: use __aligned() attribute

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 27 08:34:18 EDT 2012


From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

.. instead of __attribute__((aligned())).

Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
 fs/ubifs/commit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/commit.c b/fs/ubifs/commit.c
index 8eda717..e0adbb0 100644
--- a/fs/ubifs/commit.c
+++ b/fs/ubifs/commit.c
@@ -514,7 +514,7 @@ struct idx_node {
 	struct list_head list;
 	int iip;
 	union ubifs_key upper_key;
-	struct ubifs_idx_node idx __attribute__((aligned(8)));
+	struct ubifs_idx_node idx __aligned(8)
 };
 
 /**
-- 
1.7.10.4




More information about the linux-mtd mailing list