From: Tapasweni Pathak Date: Mon, 29 Sep 2014 10:31:14 +0000 (+0530) Subject: staging: lustre: include: linux: libcfs: use __packed instead of __attribute__((packed)) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd9176527e78ad9358fcf76011bbede0eb4974f8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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