From dc65372a4def4ed8f375a54732f51d45ed84cc6b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 1 Jun 2011 06:32:47 +0000 Subject: [PATCH] ib_srpt: Coding style fixes git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3492 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 5240257ea..1ccc73a9e 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -133,11 +133,19 @@ enum { }; static inline u64 encode_wr_id(u8 opcode, u32 idx) -{ return ((u64)opcode << 32) | idx; } +{ + return ((u64)opcode << 32) | idx; +} + static inline u8 opcode_from_wr_id(u64 wr_id) -{ return wr_id >> 32; } +{ + return wr_id >> 32; +} + static inline u32 idx_from_wr_id(u64 wr_id) -{ return (u32)wr_id; } +{ + return (u32)wr_id; +} struct rdma_iu { u64 raddr;