Staging: lustre: Fix __packed is preferred over __attribute__((packed)) in libcfs_ker...
authorDilek Uzulmez <dilekuzulmez@gmail.com>
Sun, 1 Mar 2015 20:04:30 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:54:48 +0000 (16:54 -0800)
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>
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h

index 46887700f27631de7e78e741f7d03c21f8e4ae68..a989d2666230e9d70371c25c0869fc47a8e28deb 100644 (file)
@@ -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);
This page took 0.025077 seconds and 5 git commands to generate.