We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4810a82 commit fd8acc0Copy full SHA for fd8acc0
include/linux/pgalloc_tag.h
@@ -15,7 +15,7 @@ extern struct page_ext_operations page_alloc_tagging_ops;
15
16
static inline union codetag_ref *codetag_ref_from_page_ext(struct page_ext *page_ext)
17
{
18
- return (void *)page_ext + page_alloc_tagging_ops.offset;
+ return (union codetag_ref *)page_ext_data(page_ext, &page_alloc_tagging_ops);
19
}
20
21
static inline struct page_ext *page_ext_from_codetag_ref(union codetag_ref *ref)
0 commit comments