qrtr: Convert qrtr_ports from IDR to XArray
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 31 Mar 2021 04:36:42 +0000 (05:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2021 21:32:20 +0000 (14:32 -0700)
commit3cbf7530a163d048a6376cd22fecb9cdcb23b192
treec73c8f48bc5c31aa34681d2743ed4e9eb40a9d0d
parent53f7c5e1406110b9b8da4b7e2c66023a16bb8714
qrtr: Convert qrtr_ports from IDR to XArray

The XArray interface is easier for this driver to use.  Also fixes a
bug reported by the improper use of GFP_ATOMIC.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c