Browse Source

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Ryusuke Konishi 9 years ago
parent
commit
e7a142aaa0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/nilfs2/export.h

+ 1 - 1
fs/nilfs2/export.h

@@ -20,6 +20,6 @@ struct nilfs_fid {
 
 
 	u32 parent_gen;
 	u32 parent_gen;
 	u64 parent_ino;
 	u64 parent_ino;
-} __attribute__ ((packed));
+} __packed;
 
 
 #endif
 #endif