[openib-general] [PATCH] mthca: make IB_SEND_FENCE work

Sean Hefty mshefty at ichips.intel.com
Mon Aug 14 10:18:31 PDT 2006


Roland Dreier wrote:
> @@ -1502,7 +1506,7 @@ int mthca_tavor_post_send(struct ib_qp *
>  	int i;
>  	int size;
>  	int size0 = 0;
> -	u32 f0 = 0;
> +	u32 f0;

This causes compile warnings for me that 'f0' might be used uninitialized.

> @@ -1843,7 +1849,7 @@ int mthca_arbel_post_send(struct ib_qp *
>  	int i;
>  	int size;
>  	int size0 = 0;
> -	u32 f0 = 0;
> +	u32 f0;

Same here.

- Sean




More information about the general mailing list