[PATCH 9/9] nvme-pci: rework the build time assert for NVME_MAX_NR_DESCRIPTORS

Leon Romanovsky leon at kernel.org
Tue Jun 10 06:21:12 PDT 2025


On Tue, Jun 10, 2025 at 07:06:47AM +0200, Christoph Hellwig wrote:
> The current use of an always_inline helper is a bit convoluted.
> Instead use macros that represent the arithmerics used for building
> up the PRP chain.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/nvme/host/pci.c | 28 +++++++++++++++-------------
>  1 file changed, 15 insertions(+), 13 deletions(-)
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro at nvidia.com>



More information about the Linux-nvme mailing list