Re: [PATCH v8 2/2] add wrapper msi allocation API and export msi functions

From: Greg KH
Date: Fri Feb 23 2024 - 06:21:14 EST


On Fri, Feb 23, 2024 at 02:54:47PM +0530, Nipun Gupta wrote:
> MSI functions can be for allocation and free can be directly
> used by the device drivers without any wrapper provided by
> bus drivers. So export these MSI functions.
>
> Also, add a wrapper API to allocate MSIs providing only the
> number of IRQ's rather than range for simpler driver usage.

Why is this patch 2/2? Don't add wrappers that no one uses, otherwise
we will just delete them again :(

thanks,

greg k-h