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

Jason Gunthorpe jgg at mellanox.com
Thu Jun 13 19:37:27 UTC 2019


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 at 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 at mellanox.com>

Jason


More information about the Nouveau mailing list