]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commitd1998ef38a13c4e74c69df55ccd38b0440c429b2
treeb70872f617961c6db06fb6e4f8f26fb53caba8a6
parentcc016448b0bf0764928275d034e367753bde8162
[PATCH] ib_verbs: Use explicit if-else statements to avoid errors with do-while macros

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