From fd9176527e78ad9358fcf76011bbede0eb4974f8 Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Mon, 29 Sep 2014 16:01:14 +0530 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1