Commit e4422943 authored by Joshua Baldock's avatar Joshua Baldock Committed by Greg Kroah-Hartman

Staging: lustre: Fixed syntax errors reported by checkpatch.pl script for file types.h

Added space after ',' and moved '{' to same line as struct as instructed by checkpatch.pl script.
Signed-off-by: default avatarJoshua Baldock <joshua.baldock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f0bd2c46
...@@ -112,7 +112,7 @@ static inline void LNetInvalidateHandle(lnet_handle_any_t *h) ...@@ -112,7 +112,7 @@ static inline void LNetInvalidateHandle(lnet_handle_any_t *h)
*/ */
static inline int LNetHandleIsEqual (lnet_handle_any_t h1, lnet_handle_any_t h2) static inline int LNetHandleIsEqual (lnet_handle_any_t h1, lnet_handle_any_t h2)
{ {
return (h1.cookie == h2.cookie); return h1.cookie == h2.cookie;
} }
/** /**
...@@ -122,7 +122,7 @@ static inline int LNetHandleIsEqual (lnet_handle_any_t h1, lnet_handle_any_t h2) ...@@ -122,7 +122,7 @@ static inline int LNetHandleIsEqual (lnet_handle_any_t h1, lnet_handle_any_t h2)
*/ */
static inline int LNetHandleIsInvalid(lnet_handle_any_t h) static inline int LNetHandleIsInvalid(lnet_handle_any_t h)
{ {
return (LNET_WIRE_HANDLE_COOKIE_NONE == h.cookie); return LNET_WIRE_HANDLE_COOKIE_NONE == h.cookie;
} }
/** /**
...@@ -381,7 +381,7 @@ typedef enum { ...@@ -381,7 +381,7 @@ typedef enum {
#define LNET_SEQ_BASETYPE long #define LNET_SEQ_BASETYPE long
typedef unsigned LNET_SEQ_BASETYPE lnet_seq_t; typedef unsigned LNET_SEQ_BASETYPE lnet_seq_t;
#define LNET_SEQ_GT(a,b) (((signed LNET_SEQ_BASETYPE)((a) - (b))) > 0) #define LNET_SEQ_GT(a, b) (((signed LNET_SEQ_BASETYPE)((a) - (b))) > 0)
/** /**
* Information about an event on a MD. * Information about an event on a MD.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment