Staging: lustre: Remove typedefs
PATCH 1/1 Staging: lustre: Remove typedefs
WARNING:do not add new typedefs.Remove typedefs,the names of the renamed types changed.
That was found by running checkpatch.
Signed-off-by Melike Yurtoglu <[email protected]>
--- drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h +2 -2
@@ -136,8 +136,8 @@ do { \#include <linux/capability.h> /* long integer with size equal to pointer */ -typedef unsigned long ulong_ptr_t ; -typedef long long_ptr_t ; +unsigned long ulong_ptr_t; +long long_ptr_t;#ifndef WITH_WATCHDOG #define WITH_WATCHDOG
Signature · 1 line
1.8.3.2
drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h do { \ · line 140
Quoted 8 lines · On Sunday 22 February 2015 13:07:56 Melike Yurtoglu wrote:
/* long integer with size equal to pointer */
drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h +2
-2-typedef unsigned long ulong_ptr_t ; -typedef long long_ptr_t ; +unsigned long ulong_ptr_t; +long long_ptr_t;
Sorry, but this makes no sense. You have replaced the typedefs with unused global variables, and you have not noticed that the types are still actually being used.
Arnd