Re: [PATCH] RDMA/device: Add ib_device_get_by_name() and use it in rxe

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

 




On 2019/1/15 3:27, Jason Gunthorpe wrote:
On Mon, Jan 14, 2019 at 06:00:09PM +0800, Yanjun Zhu wrote:
When apply this patch to v5.0-rc2, the following will appear.

patching file include/rdma/ib_verbs.h
Hunk #1 FAILED at 3944.
1 out of 1 hunk FAILED -- saving rejects to file include/rdma/ib_verbs.h.rej

It seems that "ib_device_put" does not exist in v5.0-rc2
Yes, this needs the patch I sent earlier
Sure. I found it in "[PATCH rdma-next v1] RDMA/core: Sync unregistration with netlink commands"

+void ib_device_put(struct ib_device *device)
+{
+    if (refcount_dec_and_test(&device->refcount))
+        complete(&device->unreg_completion);
+}

+

Reviewed-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxxx>


Jason




[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