From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BC7CC433E0 for ; Wed, 1 Jul 2020 22:38:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFD9E2085B for ; Wed, 1 Jul 2020 22:38:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="EwL7oan4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726631AbgGAWij (ORCPT ); Wed, 1 Jul 2020 18:38:39 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:34051 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbgGAWij (ORCPT ); Wed, 1 Jul 2020 18:38:39 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49xx2z1zgrz9sR4; Thu, 2 Jul 2020 08:38:33 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1593643117; bh=56kkZWfTbbU44VtbMKX6G3us6NnUdwyya0+ubSH0zvM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EwL7oan4ciMK5fL2OM4dxkApV9lHHZ6Os/huvXrCSK6Orlv10cHBYZcJl/6AO1o52 6EIkH4c7/1gdNDFzgS+hB+N/wbUbu4+yDb1d3MiRf6150cf6rfzCJ73hq/K85X4G1I 3AmNu1m06v5crQ62SNWDjt0oFqr5RTLNiEM1TKV07e3A5pk9U2JD67lO3v7R+L57oI NAl5CDiSGtlavrhH54VhA5BMphH8bVFqaxQ+bm5huHTqX/fsBo4dT3Jytd1d1lvLvy g7HXc1umYWRPc5/qTYe7J5vXImwcA8N6VnoWNzkTveJJyhm9+kZI+mnWr4QBe48D8t I0RJZ2XZKdGLw== Date: Thu, 2 Jul 2020 08:38:33 +1000 From: Stephen Rothwell To: Randy Dunlap Cc: akpm@linux-foundation.org, broonie@kernel.org, mhocko@suse.cz, linux-next@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, Oscar Salvador Subject: Re: [PATCH -mmotm] mm/memory-failure: remove stub function Message-ID: <20200702083833.1f71c272@canb.auug.org.au> In-Reply-To: References: <20200701045312.af2lR%akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/VR5G_wXkj+V7Hl9wfElARea"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org --Sig_/VR5G_wXkj+V7Hl9wfElARea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy, On Wed, 1 Jul 2020 08:47:30 -0700 Randy Dunlap wrot= e: > > From: Randy Dunlap >=20 > This stub is no longer needed since the function is no longer > inside an #ifdef/#endif block. >=20 > Fixes this build error: >=20 > ../mm/memory-failure.c:180:13: error: redefinition of =E2=80=98page_handl= e_poison=E2=80=99 >=20 > Signed-off-by: Randy Dunlap > Cc: Oscar Salvador > --- > mm/memory-failure.c | 4 ---- > 1 file changed, 4 deletions(-) >=20 > --- 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; > } > =20 > -static bool page_handle_poison(struct page *page, bool hugepage_or_freep= age, bool release) > -{ > - return true; > -} > #endif > =20 > EXPORT_SYMBOL_GPL(hwpoison_filter); Added to linux-next today. --=20 Cheers, Stephen Rothwell --Sig_/VR5G_wXkj+V7Hl9wfElARea Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl79EGkACgkQAVBC80lX 0Gyltwf+INFvxklNVE+y18MHcQE7vPpPq9Q6Gxojn0PoSy80x0j2hHHxT74mfg3L t5yN0fshRh4JfvFBrigvRn2NxS5dKTuo3TrBOmjAWwc4bZx6KkpqfPU5sMrkMgeN A8HEDWExOXl75U/tICF4esOVG7lVXFvDuBF8tMczysKZlqUA4fNqgkH3rJ7n+lSG GKbTSjFCEdI1pbICuyohp4ttUAJqSL6APL6qMjtuYlTB5oWgRGe7vBv3uZZ8o1Qq WHvG/lIR3X9kvGLAYhhYi2ii1il/WDZJSp7o3Ftj0UTw+3NoxaKdpucOGk/8nJfu 49xC19PqDfK4OFG9EjFoPgEnvrDP1A== =239s -----END PGP SIGNATURE----- --Sig_/VR5G_wXkj+V7Hl9wfElARea--