[PATCH] ib_verbs: Use explicit if-else statements to avoid errors with do-while macros
authorBen Collins <ben.collins@ubuntu.com>
Thu, 14 Dec 2006 03:10:05 +0000 (22:10 -0500)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 14 Dec 2006 03:47:13 +0000 (19:47 -0800)
At least on PPC, the "op ? op : dma" construct causes a compile failure
because the dma_* is a do{}while(0) macro.

This turns all of them into proper if/else to avoid this problem.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/rdma/ib_verbs.h

Simple merge