* [patch 22/84] nilfs2: replace __attribute__((packed)) with __packed
@ 2016-05-23 23:23 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-05-23 23:23 UTC (permalink / raw)
To: torvalds, mm-commits, akpm, konishi.ryusuke
From: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
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));
Link: http://lkml.kernel.org/r/1461935747-10380-10-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/nilfs2/export.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN fs/nilfs2/export.h~nilfs2-replace-__attribute__packed-with-__packed fs/nilfs2/export.h
--- a/fs/nilfs2/export.h~nilfs2-replace-__attribute__packed-with-__packed
+++ a/fs/nilfs2/export.h
@@ -20,6 +20,6 @@ struct nilfs_fid {
u32 parent_gen;
u64 parent_ino;
-} __attribute__ ((packed));
+} __packed;
#endif
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-23 23:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 23:23 [patch 22/84] nilfs2: replace __attribute__((packed)) with __packed akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.