On 06:53 Mon 23 Jun     , Hal Rosenstock wrote:
> 
> An additional change is needed to umad2sim/umad2sim.c:
> 
> @@ -425,7 +425,7 @@ static ssize_t umad2sim_read(struct umad2sim_dev *dev, 
> void 
>                 cnt = count - umad_size();
>         memcpy(umad_get_mad(umad), req.mad, cnt);
>  
> -       return cnt + umad_size();
> +       return umad->length;
>  }

Yes, correct. I will apply the final patch.

Sasha
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to