Skip to content

Commit

Permalink
nilfs2: replace __attribute__((packed)) with __packed
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Ryusuke Konishi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
konis authored and torvalds committed May 24, 2016
1 parent 2d19961 commit e7a142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nilfs2/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ struct nilfs_fid {

u32 parent_gen;
u64 parent_ino;
} __attribute__ ((packed));
} __packed;

#endif

0 comments on commit e7a142a

Please sign in to comment.