]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: lustre: __aligned(size) is preferred over __attribute__((aligned(size)))
authorDilek Uzulmez <dilekuzulmez@gmail.com>
Sat, 28 Feb 2015 14:28:01 +0000 (16:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:40:11 +0000 (16:40 -0800)
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>
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h

index f19a121a37cd5fb4f8a090284eea39f22165af0e..46887700f27631de7e78e741f7d03c21f8e4ae68 100644 (file)
@@ -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)