[PATCH 4/4] staging/lustre: checkpatch cleanup: __packed is preferred over __attribute__((packed))

2015-03-09 Thread mrugiero
From: "Mario J. Rugiero" --- .../include/linux/libcfs/libcfs_kernelcomm.h | 2 +- .../staging/lustre/include/linux/lnet/lib-types.h | 2 +- .../lustre/lustre/include/lustre/lustre_idl.h | 44 +++--- .../lustre/lustre/include/lustre/lustre_user.h | 14 +++ 4

[PATCH 1/4] staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon

2015-03-09 Thread mrugiero
From: "Mario J. Rugiero" --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 +- drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 4 ++-- drivers/staging/lustre/lustre/include/lprocfs_status.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 2/4] staging/lustre: checkpatch cleanup: __printf(string-index, first-to-check) is preferred over __attribute__((format(printf, string-index, first-to-check)))

2015-03-09 Thread mrugiero
From: "Mario J. Rugiero" --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +- drivers/staging/lustre/lustre/include/lustre_net.h | 2 +

[PATCH 0/4] staging/lustre: checkpatch cleanup

2015-03-09 Thread mrugiero
From: "Mario J. Rugiero" Hi, as listed in the todo for this driver is fixing checkpatch warnings, I wrote this patchset which fixes the following issues on all of the driver files, one patch per issue: trailing semicolons in macros uses of __attribute__((format(printf,...)) instead of __printf(

[PATCH 3/4] staging/lustre: checkpatch cleanup: __aligned(size) is preferred over __attribute__((aligned(size)))

2015-03-09 Thread mrugiero
From: "Mario J. Rugiero" --- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h inde