Browse Source

Staging: lustre: Fix __packed is preferred over __attribute__((packed)) in libcfs_kernelcomm.h

Fix checkpatch.pl issues with  __packed is preferred over __attribute__((packed)) in libcfs_kernelcomm.h

Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Dilek Uzulmez 10 years ago
parent
commit
30211d0d9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h

+ 1 - 1
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h

@@ -107,7 +107,7 @@ typedef struct lustre_kernelcomm {
 	__u32 lk_group;
 	__u32 lk_data;
 	__u32 lk_flags;
-} __attribute__((packed)) lustre_kernelcomm;
+} __packed lustre_kernelcomm;
 
 /* Userspace methods */
 int libcfs_ukuc_start(lustre_kernelcomm *l, int groups);