Staging: lustre: Fix __packed is preferred over __attribute__((packed)) in libcfs_kernelcomm.h
PATCH 1/1 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 <[email protected]>
--- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +1 -1
@@ -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);
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 12 lines · Dilek Uzulmez
Fix checkpatch.pl issues with
__packedis preferred over __attribute__((packed)) inlibcfs_kernelcomm.hSigned-off-by Dilek Uzulmez <[email protected]>--- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +0
-0
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h typedef struct lustre_kernelcomm { · line 110
Quoted 5 lines
drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h +1
-1@@ -107,7 +107,7 @@ typedef struct lustre_kernelcomm {__u32 lk_group;__u32 lk_data;__u32 lk_flags; -} __attribute__((packed)) lustre_kernelcomm; +}__packed lustre_kernelcomm;
Can you also work to get rid of this typedef?
thanks,
greg k-h-