Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp259293lqn; Thu, 11 Apr 2024 23:45:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzxfxfJNn9Prt9xWO7u45izurq6eOr6uwNxsIam8a9pVnd14Pcx3bpYoraiC7Zau9zRGUz4hjvSaeQCE2i3QdW2RLFw+56nQJW2M1c2A== X-Google-Smtp-Source: AGHT+IGD6DqHq4/HMrn6zs2KRWF1IARVakDJ381xilGF0OnAytgLgKFlv+4rJjlsfts28vgxfVC4 X-Received: by 2002:a17:902:bf41:b0:1e5:909b:77d2 with SMTP id u1-20020a170902bf4100b001e5909b77d2mr1587596pls.25.1712904313633; Thu, 11 Apr 2024 23:45:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712904313; cv=pass; d=google.com; s=arc-20160816; b=VQIVCrYErJZf9qdCGhAKJeSX8BRxDcFJXC+r5jdDXbahFyc49eLK4Wr2ZMKh29ZiQ0 RKaIEtBTwoey+bNvQjmvT88Ij6LOgKAawm7ulSSMdluk9InumBmOIWziKnhCC6GwS/4z OSIyHtXEwPw5KZS//leFGdeRXckath1d2va93ghA+xs7iYeqv0lUz44EI+I8EUzjctH6 miyD6mXej4E3G3rGmxcsyej4+y2aiIBlOYevXtXDYWnneNrAHARY4LGYubRqFFBfrJcm phYouYdU6ptcJI9w0nmUmYiUMKsS0ukbzfCY9DUwJL9MMBV89BLHH141rSXhw12i89Hk pAgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=Y5l5hkAzwvAQKUhuF9D8ucm9ZhOjltCqyRNj+w2o3BA=; fh=DigNN7ZxsJoN6FWb26drNSTflVR4/MadD5YOu72rqGI=; b=jAAaPrpN9Prx7m1Ns8WED8kaFy83U4IumgstN7h262QkDGWqs0Ocy64ryNQQP+pIGu iv6Tr3ru7rP+8awaC0J/5uese6n2vxj4PH8aLpaJ7MNvUyEI+SX2mIHeK2cGQsRSnb97 PfuyQCkUJYqaBTqrlDSnkIMQk4PzF14/vQZWrfrPxnlxHpGGyiEySrsNIaykiTmotFXM qRHPVVudr0QP5ACEzJIYtjbiA4MsPHo+fGQxfGwIpVU1DF8NuU5qd5Y+Ejq2TP6FY/Xn kWUx/SWLrWt9GLkJAsj4X+YqYnMaOcs44q6RqkL5DTS24nNeftHfcl7Rz7mZTAkE9oN1 r/jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="FnzK/4HE"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-142051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w15-20020a1709026f0f00b001e586397baesi1338344plk.492.2024.04.11.23.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 23:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="FnzK/4HE"; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-142051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9D251B25673 for ; Fri, 12 Apr 2024 06:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BADD044C86; Fri, 12 Apr 2024 06:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="FnzK/4HE" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2623C3FE37; Fri, 12 Apr 2024 06:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712904006; cv=none; b=PdgWwaZLZm+kR/61rA2TOagKA+ol/QRNEtQveLVONwRbj+rIrYD2uFIa61Ku/QbmxPc7wfsjjoixlYODD4TKKUS1kfnjF4oFxhP3f/KMeaIEB2Bmt9h1YFD5Zi/HTp6x+Rt8/C3mhNOiWkeYtwEBWckhjx4XLhMn13SXXqQ/TGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712904006; c=relaxed/simple; bh=PCkee1BgUzC1EAtuUO8qm/VJInsFRKB7YkPED+SoodI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=Ak6vu0wPCJzL/uS5iI9AXBWH0G5wKsrIm8J2UsSqj8Iq3VZTd2Mp80ZhVwADefa/nB9wZ66oBotAnwF7bqHvYyhgJJqUCUuAfcp0VZhRs93ncBKRekJ1kWGQffUzSsALyYJN0hOtc9Hcv7SsLoy0KGSfOPpGuSj+LXbo4sHRSS8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=FnzK/4HE; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1712904001; bh=Y5l5hkAzwvAQKUhuF9D8ucm9ZhOjltCqyRNj+w2o3BA=; h=Date:From:To:Cc:Subject:From; b=FnzK/4HEukrdWMqC+ByYSwKcGGlT7O2yjXruMRjZEcpfJ90DKUWSTxadJ3YtAhehE aOAzQDqUnAusRO7G40PD1BiJk4Ic1FYAgQMieVYBpHqTESyCU/fTLIf9xNEiqWrbaw HIhGbpFzhzVUpi9kVI9QwbziEUFeUjPX7A8ZebHFgVJZQEWF5NC+0PJwlz0oKcoFEL ATO5um8n8f4Y3CSUT8dgGKrvzI4medx0SanF2DryMPGZ7maJsNh6tSmHN5wYYYXGBC 7I0XneF/xf3s9f/MJqVEDuMF0X04bZF/kixxPeorArEqd5blnWahoW8Hthyr6BJjQp uh4lz0aHv6qZw== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VG6PX4C9Pz4wx5; Fri, 12 Apr 2024 16:40:00 +1000 (AEST) Date: Fri, 12 Apr 2024 16:39:59 +1000 From: Stephen Rothwell To: Andrew Morton Cc: Barry Song , Chuanhua Han , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20240412163959.3092804a@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1r+1bu_1ySpe+jg/pD+T/sB"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/1r+1bu_1ySpe+jg/pD+T/sB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (x86_64 allnoconfig) failed like this: In file included from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets.c:14: include/linux/swap.h:568:6: warning: no previous prototype for 'swap_free_n= r' [-Wmissing-prototypes] 568 | void swap_free_nr(swp_entry_t entry, int nr_pages) | ^~~~~~~~~~~~ (lots of these) Caused by commit ca23b4d4cae5 ("mm: swap: introduce swap_free_nr() for batched swap_free()= ") from the mm-unstable branch of the mm tree. I have applied the following patch for today. From: Stephen Rothwell Date: Fri, 12 Apr 2024 16:25:26 +1000 Subject: [PATCH] fixup for "mm: swap: introduce swap_free_nr() for batched swap_free()" Signed-off-by: Stephen Rothwell --- include/linux/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/swap.h b/include/linux/swap.h index b7a107e983b8..d1d35e92d7e9 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -565,7 +565,7 @@ static inline void swap_free(swp_entry_t swp) { } =20 -void swap_free_nr(swp_entry_t entry, int nr_pages) +static inline void swap_free_nr(swp_entry_t entry, int nr_pages) { } =20 --=20 2.43.0 --=20 Cheers, Stephen Rothwell --Sig_/1r+1bu_1ySpe+jg/pD+T/sB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYY10AACgkQAVBC80lX 0Gy60ggAhf4V6fK4QeUQoYkfBr1uZJev2Iff7FF8D+cSAlBdJEtqEF4Beax/SHGk XAcpWC2jlZM+pIDPbrPAoSTejdoZ1e+r/sCrjxJoGJJBBsBfYEIeqbnu3ZE5tOaJ nVVJWwPXmjRsqGjdIViRb/Nb9f3jggz9wW0Vg1eQ2S7WG53reNAcK4aKU/u/jwYG AwvCHk2TH02vX5g6TsY6RqJ0RkBW+tjiRXLsVJW4xbORPJ4LRbbsFX4ydRo2+zb2 DbfMFSqL/aP+DgY+eDSkTcEoMBaAlkcViNr5j8XVUMcaSvBTi+/bpC5DxfaQvsOj 01is3lnd9D4gj/s94jzIq4KNTurvQg== =XfYs -----END PGP SIGNATURE----- --Sig_/1r+1bu_1ySpe+jg/pD+T/sB--