[PATCH rdma-next 0/4] Simplify creation and destruction of ib_uverbs_device

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Reuse the char device code interfaces to simplify ib_uverbs_device
creation and destruction. As part of this series, we are sending fix
to cleanup path, which was discovered during internal review,

The fix definitely can go to -rc, but it means that this series
will be dependent on rdma-rc.

Thanks

Parav Pandit (4):
  RDMA/uverbs: Fix error cleanup path of ib_uverbs_add_one()
  RDMA/core: Depend on device_add() to add device attributes
  RDMA/uverbs: Use cdev_device_add() instead of cdev_add()
  RDMA/uverbs: Use device.groups to initialize device attributes

 drivers/infiniband/core/sysfs.c       |  61 +++++++++----------
 drivers/infiniband/core/uverbs.h      |   5 +-
 drivers/infiniband/core/uverbs_main.c | 106 ++++++++++++++++------------------
 include/rdma/ib_verbs.h               |   3 +
 4 files changed, 83 insertions(+), 92 deletions(-)

--
2.14.4




[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