Re: [PATCH 11/22] memremap: remove the data field in struct dev_pagemap

Jason Gunthorpe
2019-06-13T19:37:33Z

On Thu, Jun 13, 2019 at 11:43:14AM +0200, Christoph Hellwig wrote:
> struct dev_pagemap is always embedded into a containing structure, so
> there is no need to an additional private data field.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/nvdimm/pmem.c | 2 +-
> include/linux/memremap.h | 3 +--
> kernel/memremap.c | 2 +-
> mm/hmm.c | 9 +++++----
> 4 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>

Jason