Messages in this thread | | | Date | Sun, 18 Aug 2019 11:03:34 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 1/4] resource: add a not device managed request_free_mem_region variant |
| |
On Fri, Aug 16, 2019 at 02:01:34PM -0700, Andrew Morton wrote: > On Fri, 16 Aug 2019 08:54:31 +0200 Christoph Hellwig <hch@lst.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 ;)
Oops, the changelog needs updating vs the first version of course.
| |