Re: [PATCH v9 77/96] mm/filemap: Add filemap_alloc_folio

From: Matthew Wilcox
Date: Wed May 05 2021 - 22:30:00 EST


On Thu, May 06, 2021 at 08:00:25AM +0800, kernel test robot wrote:
> sparse warnings: (new ones prefixed by >>)
> >> mm/filemap.c:1000:52: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted gfp_t [usertype] gfp @@ got int [assigned] n @@
> mm/filemap.c:1000:52: sparse: expected restricted gfp_t [usertype] gfp
> mm/filemap.c:1000:52: sparse: got int [assigned] n
> >> mm/filemap.c:1000:55: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int order @@ got restricted gfp_t [usertype] gfp @@
> mm/filemap.c:1000:55: sparse: expected unsigned int order
> mm/filemap.c:1000:55: sparse: got restricted gfp_t [usertype] gfp

fixed