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=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 A3612C55178 for ; Thu, 29 Oct 2020 07:41:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 18F86218AC for ; Thu, 29 Oct 2020 07:41:44 +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="T6jYze6c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730632AbgJ2Hkt (ORCPT ); Thu, 29 Oct 2020 03:40:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727832AbgJ2HYy (ORCPT ); Thu, 29 Oct 2020 03:24:54 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E70C0613E4; Wed, 28 Oct 2020 21:08:16 -0700 (PDT) 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 4CMBkN2Qbwz9sSf; Thu, 29 Oct 2020 15:08:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1603944492; bh=ENPHDiNd4tm9gO7FK38d0WVyLNug1Xt5LcWyskZC0HE=; h=Date:From:To:Cc:Subject:From; b=T6jYze6c+Y2wbPiaN/uZr0Bj5vllq3nzWdOFMrfBSLF/49uYdZcrXpIZD7BITEvL2 LhmUgMOgvylnBQQKJQ4/LZKp/eCOnlFEfnJ52duldbfosGB8Lg6dNpnFtO6FzrjLT2 sGq8TEpwyLdjZ08ptG9aN6i/tIHCgpC3mgC+8Xgtoq9x52oKfQkTZSAOCh8PPKJf9f MPP3m7AmUleA0Sug6rSXQ1B7xo7hAksZSMmxKyUeYV2TeJ3DtN0Q69EpDqfM2eEl/P 5SzYej/3Y+LdG5oCHFiqdJBlmPsH+UnBioFJCDGHG5m9exPINdnZC/NynnWvjT2upa JtnfXSvvpBBcA== Date: Thu, 29 Oct 2020 15:08:09 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Andy Shevchenko , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the akpm-current tree Message-ID: <20201029150809.13059608@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/K+FtPlvS6SpRyohqoQh6+u1"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/K+FtPlvS6SpRyohqoQh6+u1 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 (powerpc ppc64_defconfig) failed like this: lib/math/div64.c: In function 'mul_u64_u64_div_u64': lib/math/div64.c:202:6: error: implicit declaration of function 'ilog2' [-W= error=3Dimplicit-function-declaration] 202 | if (ilog2(a) + ilog2(b) > 62) { | ^~~~~ Caused by commit 4ec993a18ff6 ("kernel.h: Split out mathematical helpers") I have applied the following patch for today: From: Stephen Rothwell Date: Thu, 29 Oct 2020 15:03:58 +1100 Subject: [PATCH] kernel.h: Split out mathematical helpers fix Signed-off-by: Stephen Rothwell --- lib/math/div64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/math/div64.c b/lib/math/div64.c index dcc826c40ca1..064d68a5391a 100644 --- a/lib/math/div64.c +++ b/lib/math/div64.c @@ -22,6 +22,7 @@ #include #include #include +#include =20 /* Not needed on 64bit architectures */ #if BITS_PER_LONG =3D=3D 32 --=20 2.28.0 --=20 Cheers, Stephen Rothwell --Sig_/K+FtPlvS6SpRyohqoQh6+u1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl+aQCkACgkQAVBC80lX 0GzhOgf+OgE7kebs333asoZTaLlzGdlowhlIizRWNM/3FjjoRZXnJtT7LTR9FF3O 95Nn7ZNQzBOE5g1lu7LyrZfY5XigcLgCMyRKUKfWRIUGjhzUwm1yapoc3B8VfWHJ nedOZSmpcS2Ii6Z78005lXIhAuL75QHTMz7F69LnJoEjmJcW7fSiUJGWSlCHQpVc afjaHn5ii17FbhC8wlxtPRo1psiS8X9kYVJ80dw+019x2CUed7dgr6AKFO4YlQBN 8H179G8biwFQYRf1ljhzOGYS2LGjyWwa0b+0OH3vVB28jbRZkIuwGa0y1ul1ehra 6XJqQYRHy3Am7QZihvqX77o7R+TJVg== =wxwR -----END PGP SIGNATURE----- --Sig_/K+FtPlvS6SpRyohqoQh6+u1--