Skip to content
Snippets Groups Projects
Commit d1998ef3 authored by Ben Collins's avatar Ben Collins Committed by Linus Torvalds
Browse files

[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: default avatarBen Collins <bcollins@ubuntu.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cc016448
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment