lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 4 Jul 2022 15:03:59 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-mm <linux-mm@...ck.org>,
        Naoya Horiguchi <naoya.horiguchi@....com>,
        Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: linux-next: Tree for Jul 4 (mm/memory-failure.c)



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
Download attachment "config-r4470.gz" of type "application/gzip" (45407 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ