From: Ryusuke Konishi Date: Mon, 23 May 2016 23:23:23 +0000 (-0700) Subject: nilfs2: replace __attribute__((packed)) with __packed X-Git-Tag: v4.9.8~2028^2~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7a142aaa09fa5db015fd176d6943f888665829f;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nilfs2/export.h b/fs/nilfs2/export.h index 19ccbf9..00107fd 100644 --- a/fs/nilfs2/export.h +++ b/fs/nilfs2/export.h @@ -20,6 +20,6 @@ struct nilfs_fid { u32 parent_gen; u64 parent_ino; -} __attribute__ ((packed)); +} __packed; #endif