nilfs2: replace __attribute__((packed)) with __packed
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 23 May 2016 23:23:23 +0000 (16:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
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>
fs/nilfs2/export.h

index 19ccbf9522ab3f826af531c328d73b8b4ce5ec42..00107fdb93433dc0cf23e71a2d687589578fa3c0 100644 (file)
@@ -20,6 +20,6 @@ struct nilfs_fid {
 
        u32 parent_gen;
        u64 parent_ino;
-} __attribute__ ((packed));
+} __packed;
 
 #endif