diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-06-13 20:48:23 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-09 22:42:11 -0700 |
commit | 9e82db9c0cdafa068969373b4bad140f72988e32 (patch) | |
tree | 3e9bc5b3fe2653733a09157cfa712af323c4fe44 /include/linux/highmem-internal.h | |
parent | 32925ee63beb7e1a3fad25e2f54cefa2d32612de (diff) |
highmem: remove a use of folio->page
Call folio_address() instead of page_address().
Link: https://lkml.kernel.org/r/20250613194825.3175276-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/highmem-internal.h')
-rw-r--r-- | include/linux/highmem-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/highmem-internal.h b/include/linux/highmem-internal.h index 9a7683d79a4b..36053c3d6d64 100644 --- a/include/linux/highmem-internal.h +++ b/include/linux/highmem-internal.h @@ -195,7 +195,7 @@ static inline void *kmap_local_page_try_from_panic(struct page *page) static inline void *kmap_local_folio(struct folio *folio, size_t offset) { - return page_address(&folio->page) + offset; + return folio_address(folio) + offset; } static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) |