On 7/4/22 01:21, Stephen Rothwell wrote: > Hi all, > > Changes since 20220701: > on i386 or x86_64: In file included from ../include/linux/mmzone.h:21, from ../include/linux/gfp.h:6, from ../include/linux/mm.h:7, from ../mm/memory-failure.c:37: ../mm/memory-failure.c: In function ‘raw_hwp_list_head’: ../mm/memory-failure.c:1685:59: error: ‘SUBPAGE_INDEX_HWPOISON’ undeclared (first use in this function) 1685 | return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mm_types.h:334:43: note: in definition of macro ‘page_private’ 334 | #define page_private(page) ((page)->private) | ^~~~ ../mm/memory-failure.c:1685:59: note: each undeclared identifier is reported only once for each function it appears in 1685 | return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mm_types.h:334:43: note: in definition of macro ‘page_private’ 334 | #define page_private(page) ((page)->private) | ^~~~ ../mm/memory-failure.c: At top level: ../mm/memory-failure.c:1888:20: error: conflicting types for ‘free_raw_hwp_pages’; have ‘void(struct page *, bool)’ {aka ‘void(struct page *, _Bool)’} 1888 | static inline void free_raw_hwp_pages(struct page *hpage, bool move_flag) | ^~~~~~~~~~~~~~~~~~ ../mm/memory-failure.c:1731:20: note: previous definition of ‘free_raw_hwp_pages’ with type ‘long int(struct page *, bool)’ {aka ‘long int(struct page *, _Bool)’} 1731 | static inline long free_raw_hwp_pages(struct page *hpage, bool move_flag) | ^~~~~~~~~~~~~~~~~~ ../mm/memory-failure.c: In function ‘unpoison_memory’: ../mm/memory-failure.c:2345:31: error: void value not ignored as it ought to be 2345 | count = free_raw_hwp_pages(page, false); | ^ ../mm/memory-failure.c:2355:31: error: void value not ignored as it ought to be 2355 | count = free_raw_hwp_pages(page, false); | ^ ../mm/memory-failure.c: In function ‘raw_hwp_list_head’: ../mm/memory-failure.c:1686:1: error: control reaches end of non-void function [-Werror=return-type] 1686 | } | ^ Full randconfig file is attached. -- ~Randy
Attachment:
config-r4470.gz
Description: application/gzip