commit | d1998ef38a13c4e74c69df55ccd38b0440c429b2 | [log] [tgz] |
---|---|---|
author | Ben Collins <ben.collins@ubuntu.com> | Wed Dec 13 22:10:05 2006 -0500 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Wed Dec 13 19:47:13 2006 -0800 |
tree | b70872f617961c6db06fb6e4f8f26fb53caba8a6 | |
parent | cc016448b0bf0764928275d034e367753bde8162 [diff] |
[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>