[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190816140134.1f3225bed9bf2734c03341b1@linux-foundation.org>
Date: Fri, 16 Aug 2019 14:01:34 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Christoph Hellwig <hch@....de>
Cc: Dan Williams <dan.j.williams@...el.com>,
Jason Gunthorpe <jgg@...lanox.com>,
Bharata B Rao <bharata@...ux.ibm.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-nvdimm@...ts.01.org
Subject: Re: [PATCH 1/4] resource: add a not device managed
request_free_mem_region variant
On Fri, 16 Aug 2019 08:54:31 +0200 Christoph Hellwig <hch@....de> wrote:
> Just add a simple macro that passes a NULL dev argument to
> dev_request_free_mem_region, and call request_mem_region in the
> function for that particular case.
Nit:
> +struct resource *request_free_mem_region(struct resource *base,
> + unsigned long size, const char *name);
This isn't a macro ;)
Powered by blists - more mailing lists