Re: [PATCH rdma-next v3] RDMA/ipoib: Fix return code from ipoib_cm_dev_init

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

 



On Mon, Jul 09, 2018 at 10:21:03PM +0300, Kamal Heib wrote:
> The proper return code is -EOPNOTSUPP and not -ENOSYS when the function
> isn't supported, also make sure to return the right error code
> from ipoib_transport_dev_init() when ipoib_cm_dev_init() is supported.
> 
> Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
> ---
> Changes from v2:
> - Make sure to return the right error code from ipoib_transport_dev_init()
> 
>  drivers/infiniband/ulp/ipoib/ipoib.h       | 2 +-
>  drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied to for-next, thanks

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