diff options
| author | Ben Collins <[email protected]> | 2006-12-14 03:10:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-14 03:47:13 +0000 |
| commit | d1998ef38a13c4e74c69df55ccd38b0440c429b2 (patch) | |
| tree | b70872f617961c6db06fb6e4f8f26fb53caba8a6 /lib/fault-inject.c | |
| parent | Linux v2.6.20-rc1 (diff) | |
| download | kernel-d1998ef38a13c4e74c69df55ccd38b0440c429b2.tar.gz kernel-d1998ef38a13c4e74c69df55ccd38b0440c429b2.zip | |
[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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
