From: Randy Dunlap <rdunlap@infradead.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
Naoya Horiguchi <naoya.horiguchi@nec.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: linux-next: Tree for Jul 4 (mm/memory-failure.c)
Date: Mon, 4 Jul 2022 15:03:59 -0700 [thread overview]
Message-ID: <bb095885-6c7c-9122-5dab-d31a161e0b23@infradead.org> (raw)
In-Reply-To: <20220704182112.6c151e04@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 2666 bytes --]
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 #2: config-r4470.gz --]
[-- Type: application/gzip, Size: 45407 bytes --]
parent reply other threads:[~2022-07-04 22:04 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20220704182112.6c151e04@canb.auug.org.au>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb095885-6c7c-9122-5dab-d31a161e0b23@infradead.org \
--to=rdunlap@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=naoya.horiguchi@nec.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox