Re: linux-next: build warning after merge of the vfs-brauner tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 26, 2024 at 04:01:09PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the vfs-brauner tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> include/linux/pagemap.h:480: warning: Function parameter or struct member 'index' not described in 'mapping_align_index'
> 
> Introduced by commit
> 
>   c104d25f8c49 ("filemap: allocate mapping_min_order folios in the page cache")

Oops. That should be a trivial patch. I will send this fix along with
the set_memory_ro() issue in powerpc once that is resolved.

diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 55b254d951da7..6c0dde447c980 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -470,6 +470,7 @@ mapping_min_folio_nrpages(struct address_space *mapping)
 /**
  * mapping_align_index() - Align index for this mapping.
  * @mapping: The address_space.
+ * @index: The page index.
  *
  * The index of a folio must be naturally aligned.  If you are adding a
  * new folio to the page cache and need to know what index to give it,
> 
> -- 
> Cheers,
> Stephen Rothwell



-- 
Pankaj Raghav




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux