Re: [PATCH libmlx5] fix err return values to match ibv_post_send expectations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 05, 2016 at 01:33:59PM -0400, Jarod Wilson wrote:
> -	return _mlx5_post_send(ibqp, wr, bad_wr);
> +	errno = _mlx5_post_send(ibqp, wr, bad_wr);
> +	return errno;

Why still set errno? It was wrong in the first place..

Likely every use of errno in this provider should be reviewed.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux