From 6b26895ad47f2810c7553c6ef7a3ca5b11208678 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 12 May 2008 12:05:16 +0000 Subject: [PATCH] A little style update -- constants on the left... This commit was SVN r18426. --- ompi/mca/btl/openib/btl_openib_component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index 9be41713d8..6821f3cdfc 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -2073,13 +2073,13 @@ error: * SQ and RQ WRs will automatically be flushed. */ #if defined(HAVE_STRUCT_IBV_DEVICE_TRANSPORT_TYPE) - if (wc->status == IBV_WC_WR_FLUSH_ERR && + if (IBV_WC_WR_FLUSH_ERR == wc->status && IBV_TRANSPORT_IWARP == hca->ib_dev->transport_type) { return; } #endif - if(wc->status != IBV_WC_WR_FLUSH_ERR || !flush_err_printed[cq]++) { + if(IBV_WC_WR_FLUSH_ERR != wc->status || !flush_err_printed[cq]++) { BTL_PEER_ERROR(remote_proc, ("error polling %s with status %s " "status number %d for wr_id %llu opcode %d qp_idx %d", cq_name[cq], btl_openib_component_status_to_string(wc->status),