[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200408194527.GA13647@lst.de>
Date: Wed, 8 Apr 2020 21:45:27 +0200
From: Christoph Hellwig <hch@....de>
To: Grygorii Strashko <grygorii.strashko@...com>
Cc: Christoph Hellwig <hch@....de>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org, Sekhar Nori <nsekhar@...com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] dma-debug: fix displaying of dma allocation type
On Wed, Apr 08, 2020 at 10:43:00PM +0300, Grygorii Strashko wrote:
> +static const char *type2name[5] = {
> + [dma_debug_single] = "single",
> + [dma_debug_sg] = "scather-gather",
> + [dma_debug_coherent] = "coherent",
> + [dma_debug_resource] = "resource",
> +};
We actually only have 4, not 5 elements now (and don't really
need the sizing anyway). But I can fix that when applying, thanks!
Powered by blists - more mailing lists