]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mad: Convert ib_mad_clients to XArray
authorMatthew Wilcox <willy@infradead.org>
Thu, 21 Feb 2019 00:20:42 +0000 (16:20 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 26 Mar 2019 14:36:20 +0000 (11:36 -0300)
commit65fa3009a7ab54b4df9221406b2be98f4bb5269c
treeaa0f5430c98a60485af9a0dc436a6fa49d191777
parent76dc5fb98999fc3355fbd07b0727a8622fae6720
IB/mad: Convert ib_mad_clients to XArray

Pull the allocation function out into its own function to reduce the
length of ib_register_mad_agent() a little and keep all the allocation
logic together.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/mad.c