Browse Source

staging: lustre: include: linux: libcfs: use __packed instead of __attribute__((packed))

This patch fixes checpatch.pl warning in libcfs_debug.h file.
WARNING: __packed is preferred over __attribute__((packed))

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tapasweni Pathak 11 years ago
parent
commit
fd9176527e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h

+ 1 - 1
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h

@@ -80,7 +80,7 @@ struct ptldebug_header {
 	__u32 ph_pid;
 	__u32 ph_extern_pid;
 	__u32 ph_line_num;
-} __attribute__((packed));
+} __packed;
 
 #define PH_FLAG_FIRST_RECORD 1