diff options
author | Tapasweni Pathak <[email protected]> | 2014-09-29 16:01:14 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-10-02 09:52:14 -0700 |
commit | fd9176527e78ad9358fcf76011bbede0eb4974f8 (patch) | |
tree | 40f5e941c5992892149bf729992a99bbf534c85c | |
parent | f7b33ff4031fe72319228e572f43ddcd8f19af7c (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h index aa9222cbc7cc..8888b2756174 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +++ b/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 |