From: Ben Collins Date: Thu, 14 Dec 2006 03:10:05 +0000 (-0500) Subject: [PATCH] ib_verbs: Use explicit if-else statements to avoid errors with do-while macros X-Git-Tag: v2.6.20-rc2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1998ef38a13c4e74c69df55ccd38b0440c429b2;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed