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] [thread-next>] [day] [month] [year] [list]
Message-ID: <adb60490-484f-a154-e163-725e35a821dc@infradead.org>
Date:   Wed, 1 Jul 2020 08:47:30 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     akpm@...ux-foundation.org, broonie@...nel.org, mhocko@...e.cz,
        sfr@...b.auug.org.au, linux-next@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, mm-commits@...r.kernel.org,
        Oscar Salvador <osalvador@...e.de>
Subject: [PATCH -mmotm] mm/memory-failure: remove stub function

From: Randy Dunlap <rdunlap@...radead.org>

This stub is no longer needed since the function is no longer
inside an #ifdef/#endif block.

Fixes this build error:

../mm/memory-failure.c:180:13: error: redefinition of ‘page_handle_poison’

Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Oscar Salvador <osalvador@...e.de>
---
 mm/memory-failure.c |    4 ----
 1 file changed, 4 deletions(-)

--- mmotm-2020-0630-2152.orig/mm/memory-failure.c
+++ mmotm-2020-0630-2152/mm/memory-failure.c
@@ -169,10 +169,6 @@ int hwpoison_filter(struct page *p)
 	return 0;
 }
 
-static bool page_handle_poison(struct page *page, bool hugepage_or_freepage, bool release)
-{
-	return true;
-}
 #endif
 
 EXPORT_SYMBOL_GPL(hwpoison_filter);


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ