Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
Sagi Grimberg b059e2108d RDMA/core: make ib_device.add method optional
ib_clients can indeed fill .add to NULL, but then they will not see
any device removal notifications. The reason is that that
ib_register_client and ib_register_device checked existence of .add
before adding the creating a corresponding client_data and adding
it to the list. Simple condition reverse fixes the issue.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-18 10:46:20 -04:00
..
2015-06-12 14:49:18 -04:00
2017-05-23 12:26:59 -04:00
2015-05-05 13:21:27 -04:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2017-05-23 12:26:59 -04:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2017-04-21 12:29:31 -04:00
2017-05-01 14:39:02 -04:00
2016-03-03 10:20:25 -05:00