rxrpc: Adjust some whitespace and comments

Remove some excess whitespace, insert some missing spaces and adjust a
couple of comments.

Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
David Howells
2016-03-04 15:56:19 +00:00
parent 351c1e6486
commit b4f1342f91
7 changed files with 22 additions and 29 deletions

View File

@@ -16,7 +16,7 @@
BUG_ON(atomic_read((X)) >> (sizeof(atomic_t) - 2) == \
(POISON_FREE << 8 | POISON_FREE))
#else
#define CHECK_SLAB_OKAY(X) do {} while(0)
#define CHECK_SLAB_OKAY(X) do {} while (0)
#endif
#define FCRYPT_BSIZE 8
@@ -726,7 +726,7 @@ do { \
printk(KERN_ERR "RxRPC: Assertion failed\n"); \
BUG(); \
} \
} while(0)
} while (0)
#define ASSERTCMP(X, OP, Y) \
do { \
@@ -739,7 +739,7 @@ do { \
(unsigned long)(X), (unsigned long)(Y)); \
BUG(); \
} \
} while(0)
} while (0)
#define ASSERTIF(C, X) \
do { \
@@ -748,7 +748,7 @@ do { \
printk(KERN_ERR "RxRPC: Assertion failed\n"); \
BUG(); \
} \
} while(0)
} while (0)
#define ASSERTIFCMP(C, X, OP, Y) \
do { \
@@ -761,25 +761,25 @@ do { \
(unsigned long)(X), (unsigned long)(Y)); \
BUG(); \
} \
} while(0)
} while (0)
#else
#define ASSERT(X) \
do { \
} while(0)
} while (0)
#define ASSERTCMP(X, OP, Y) \
do { \
} while(0)
} while (0)
#define ASSERTIF(C, X) \
do { \
} while(0)
} while (0)
#define ASSERTIFCMP(C, X, OP, Y) \
do { \
} while(0)
} while (0)
#endif /* __KDEBUGALL */
@@ -836,9 +836,9 @@ do { \
CHECK_SLAB_OKAY(&(CALL)->usage); \
if (atomic_inc_return(&(CALL)->usage) == 1) \
BUG(); \
} while(0)
} while (0)
#define rxrpc_put_call(CALL) \
do { \
__rxrpc_put_call(CALL); \
} while(0)
} while (0)