Commit 7cde9afb authored by Dilek Uzulmez's avatar Dilek Uzulmez Committed by Greg Kroah-Hartman

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: default avatarDilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 978b9b35
...@@ -58,7 +58,7 @@ struct kuc_hdr { ...@@ -58,7 +58,7 @@ struct kuc_hdr {
__u8 kuc_flags; __u8 kuc_flags;
__u16 kuc_msgtype; /* Message type or opcode, transport-specific */ __u16 kuc_msgtype; /* Message type or opcode, transport-specific */
__u16 kuc_msglen; /* Including header */ __u16 kuc_msglen; /* Including header */
} __attribute__((aligned(sizeof(__u64)))); } __aligned(sizeof(__u64));
#define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE) #define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment