Re: [PATCH v2] RDMA/rxe: Simplify the error handling code in rxe_create_ah()

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

 



On Fri, Jul 06, 2018 at 09:45:32AM -0700, Bart Van Assche wrote:
> This patch not only simplifies the error handling code in rxe_create_ah()
> but also removes the dead code that was left behind by commit 47ec38666210
> ("RDMA: Convert drivers to use sgid_attr instead of sgid_index").
>
> Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx>
> Cc: Parav Pandit <parav@xxxxxxxxxxxx>
> Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>
> Changes compared to v1: implemented Parav's suggestion to change the "goto err1"
>   statements into "return ERR_PTR()".
>
>  drivers/infiniband/sw/rxe/rxe_verbs.c | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
--
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