Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3836501pxu; Sun, 20 Dec 2020 18:13:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZL2sIFw5CZATYwYCPf1GwK/O1KgxkVMvC4hLTw0nXkoJcbCZdsoBUHXwHS0BLiB844Xaz X-Received: by 2002:a17:906:f894:: with SMTP id lg20mr13537887ejb.348.1608516816520; Sun, 20 Dec 2020 18:13:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608516816; cv=none; d=google.com; s=arc-20160816; b=AGJtWUIX2cNGX9UrfYbE1bs4HqsuKnxRabl2ZM+nJuBAadzmrHhj5zuBF6iiU/oRDF Ufe+Q2NUuII02C2dq4t5wgB9qKDXL+/CFaXDAWxh5/pY7/bg5GlMMQheeEMbCelFaO2R tU8uARW3rQIJB79aACF7Fp8pfvZ6i70CoH2+MkUpchw9E/1gx9KsPnuw5ruFH93+Hk3p DNTiDVg2UaesT3WnMMvaBRZ5uAgK7E1GXoqNsr0XQZWF/dRKb55cvvHIMa6kAmEsVmee PtYuEsJsztOUInbXAM+InAQBpXSGlfKeKQu5fl8MWDaW/FkcV0uIhoPk1usstwwNUKs+ UsxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=B8ISqr7Apz0iKcpNO+pmTUPLdoxQ9M/Tn6ORckpXIP4=; b=iQs8N6LG0gHmpA1IiPi5V0hL/aNNpNVSHSizZl2bvkwkcu8evDeCazEAl87dzaPWKC h4ufK5jv6pHMB+nf9bW/snlYmrp3XCnpFzTeKkQ+4pQpmWSKt14YQOWIgDhLAs4Ieo7o dNYDUE2nDuTGELl9lBFuB0i+g9TcJkpy5isrGWyo3XPpawMLLpqQj4437FcdcpwYYCJy dztJazc1YuRnio+CRhCHmb4DrvRDIdmD3M7JmoW/NDZO4WgZUckbzq+06bBjcr3OLwRZ cpAdKnTiwuLVH2yhfd3rgWIS6DYsYCvSzW/uAs6tsakNNiNd7vt4uXZAPmFlVBOCOA9w gFuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JlR4vlgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si9677010edi.388.2020.12.20.18.13.13; Sun, 20 Dec 2020 18:13:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JlR4vlgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726934AbgLUCLF (ORCPT + 99 others); Sun, 20 Dec 2020 21:11:05 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:39187 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726919AbgLUCLF (ORCPT ); Sun, 20 Dec 2020 21:11:05 -0500 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 4Czjbt0W4Qz9sVj; Mon, 21 Dec 2020 13:10:18 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1608516618; bh=V9UVI2PvqIaf/yrp5phh+JLtvpEaSk5a+6OJkvKRgA0=; h=Date:From:To:Cc:Subject:From; b=JlR4vlgwiHv8P3K9mkE6zxphLr1lQOOzSndCREQxGXqxZpMUzT8Z8rqpLENqvsLSr 7qs6RttPY9sqV1o4cbmpwMI9Krg6TWurpRZ/XdmeFFsRNF3//8ay4GB5fwtVGczc10 zRJihweKqdNy0i/mFO66rdUJmF5BGOlx0qaJeLyeWgbvIWu6Jk2BKGH4R3zXl9G4N0 CaRwkP5+GX74c6V3kaJu6j+Oat1yhS6cJlaikpvMPZI91n0x1Iac1fR5pi87U+QmAv vxml8ORwcE/5LUxIETqKkcqVOpm/yFb9tmZ4ODN86Eqtl2oqH/eZ15/IweaT6QeZq/ HqCoVtFQggCWw== Date: Mon, 21 Dec 2020 13:10:17 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Andrey Konovalov , Kuan-Ying Lee , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the akpm-current tree Message-ID: <20201221131017.128c89b1@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/BzH8.PRlEOqjyuYVlKL7+7/"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/BzH8.PRlEOqjyuYVlKL7+7/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/kasan/quarantine.c: In function 'quarantine_put': mm/kasan/quarantine.c:207:15: error: 'info' undeclared (first use in this f= unction) 207 | qlink_free(&info->quarantine_link, cache); | ^~~~ Caused by commit 120d593a8650 ("kasan: fix memory leak of kasan quarantine") interacting with commit cfbc92088e1d ("kasan: rename get_alloc/free_info") Can we please get this sorted out once and for all? I have applied the following patch for today: From: Stephen Rothwell Date: Mon, 21 Dec 2020 13:07:42 +1100 Subject: [PATCH] kasan: fix memory leak of kasan quarantine fix Signed-off-by: Stephen Rothwell --- mm/kasan/quarantine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c index 3f3b3d902c18..091a57f942b3 100644 --- a/mm/kasan/quarantine.c +++ b/mm/kasan/quarantine.c @@ -204,7 +204,7 @@ bool quarantine_put(struct kmem_cache *cache, void *obj= ect) =20 q =3D this_cpu_ptr(&cpu_quarantine); if (q->offline) { - qlink_free(&info->quarantine_link, cache); + qlink_free(&meta->quarantine_link, cache); local_irq_restore(flags); return false; } --=20 2.29.2 --=20 Cheers, Stephen Rothwell --Sig_/BzH8.PRlEOqjyuYVlKL7+7/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl/gBAkACgkQAVBC80lX 0GwNWwgAlrPv8jREH+leMyZMw3LsinVBn78o0VzTDvbB42A9m78FaswrnAeLzgc7 CR9vfvzP6kZ/Pbdx2OcpAdzwEl56eRDc+R3xtopGlCyz42ROHFZDJlpHOGIU23QS XFtFi4q6BfzNd3HTh23akVIIRfdHRKZHSyQ8t+/4Hjf16y6Us83AsGvpvOF21vqJ ojrJnCwhf2E8SvHHP/snW018wJDWeUoCIQxnS53Ny6bVm0vitQFoejuDZJr6tjK1 U0U/aJs0UTetNAKCaMsx1ENhbm+3d0cIjsU/7gayuz3PgeoazXYHvfr3bXbR5N6i JRS3n9fyL1ydQ5uCSJQ8QvPbAEkFVA== =wVjd -----END PGP SIGNATURE----- --Sig_/BzH8.PRlEOqjyuYVlKL7+7/--