trivial endianness annotations: infiniband core

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro
2008-03-29 03:10:28 +00:00
committed by Linus Torvalds
parent a4e6d5d381
commit 1b90c137cc
3 changed files with 17 additions and 17 deletions

View File

@@ -393,7 +393,7 @@ static int cm_alloc_id(struct cm_id_private *cm_id_priv)
spin_unlock_irqrestore(&cm.lock, flags);
} while( (ret == -EAGAIN) && idr_pre_get(&cm.local_id_table, GFP_KERNEL) );
cm_id_priv->id.local_id = (__force __be32) (id ^ cm.random_id_operand);
cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand;
return ret;
}