Re: [PATCH] cma: fail if fixed declaration can't be honored

2019-06-25 Thread Andrew Morton
On Mon, 24 Jun 2019 17:20:51 -0700 Doug Berger wrote: > The description of the cma_declare_contiguous() function indicates > that if the 'fixed' argument is true the reserved contiguous area > must be exactly at the address of the 'base' argument. > > However, the function currently allows the '

[PATCH] cma: fail if fixed declaration can't be honored

2019-06-24 Thread Doug Berger
The description of the cma_declare_contiguous() function indicates that if the 'fixed' argument is true the reserved contiguous area must be exactly at the address of the 'base' argument. However, the function currently allows the 'base', 'size', and 'limit' arguments to be silently adjusted to me