]> git.baikalelectronics.ru Git - kernel.git/commit
bus: fsl-mc-msi: Allocate MSI device data on first use
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:00 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:38 +0000 (22:16 +0100)
commitb8ee38185bee691195a083c18fd207d996fe4674
tree3fdbdc86cc76f04eba741a91b6cbadd3e3c7a977
parentdd75199cb56a8d8f49c5500d8073b05bb781b2df
bus: fsl-mc-msi: Allocate MSI device data on first use

Allocate the MSI device data on first invocation of the allocation function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221813.867985931@linutronix.de
drivers/bus/fsl-mc/fsl-mc-msi.c