Skip to contentSkip to conversation

nilfs2: replace __attribute__((packed)) with __packed

PATCH New [email protected] 1 participant 1 message May 23, 2016 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 22/84 nilfs2: replace __attribute__((packed)) with __packed

From: Ryusuke Konishi <[email protected]>
Subject: nilfs2: replace __attribute__((packed)) with __packed

This fixes the following checkpatch.pl warning:

WARNING: __packed is preferred over __attribute__((packed)) #23: FILE: export.h:23:
+} __attribute__ ((packed));

---

 fs/nilfs2/export.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nilfs2/export.h renamed from fs/nilfs2/export.h~nilfs2-replace-__attribute__packed-with-__packed +1 -1
diff -puN fs/nilfs2/export.h~nilfs2-replace-__attribute__packed-with-__packed fs/nilfs2/export.h
@@ -20,6 +20,6 @@ struct nilfs_fid {
 
 	u32 parent_gen;
 	u64 parent_ino;
-} __attribute__ ((packed));
+} __packed;
 
 #endif

_