From: Dilek Uzulmez <dilekuzulmez@gmail.com>
Date: Sat, 28 Feb 2015 14:28:01 +0000 (+0200)
Subject: Staging: lustre: __aligned(size) is preferred over __attribute__((aligned(size)))
X-Git-Tag: firefly_0821_release~176^2~1998^2~138^2~801
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7cde9afb1860f86fc0596f3ae45b5c154e0c3421;p=firefly-linux-kernel-4.4.55.git

Staging: lustre: __aligned(size) is preferred over __attribute__((aligned(size)))

This patch fixes the checkpatch.pl warning in the drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h

Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---

diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
index f19a121a37cd..46887700f276 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
@@ -58,7 +58,7 @@ struct kuc_hdr {
 	__u8  kuc_flags;
 	__u16 kuc_msgtype;    /* Message type or opcode, transport-specific */
 	__u16 kuc_msglen;     /* Including header */
-} __attribute__((aligned(sizeof(__u64))));
+} __aligned(sizeof(__u64));
 
 #define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE)