Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp82198rdb; Sun, 17 Dec 2023 22:40:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IErC+EkFuNblKpvMzbXS8hcocSbOX3UAHvbHgUEhgX+S0+iKXsmvC/7sdxDIXvWig1o2MUJ X-Received: by 2002:a05:620a:389b:b0:77d:cc40:252e with SMTP id qp27-20020a05620a389b00b0077dcc40252emr15014434qkn.51.1702881654923; Sun, 17 Dec 2023 22:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702881654; cv=none; d=google.com; s=arc-20160816; b=yHK8m23XYSKJ6Rd1YvN4qeD/FbLmcVCTZFaY1Rl/xUV+T7pJkUEYQLZq0c2LUVf35B k8AchoGUxR5IexpEVC58LvVI9XICa0oIgtp3CTr4qiR13qR1Kid6svjOoS1oPK8gHZKQ cUmpsVRxOZWOJ5cssxk8HSa1EkRfvHTFYgG+MKZiqkhHAs5rIpUmVSQrJOc19+PLQ/Ek uriT/sJlht+OPvG0ZRv/xJU1p+wZTOIr2kW+4gGCq0jjGQZ61MekiY/uFqHcNLe1R7uR 770ztiZJDMTmjuqBY6uBahzT4b6r58UxiZ/ITDy8eWba/GHx+lz9YH8kB9Q25uXefYAv jOaQ== ARC-Message-Signature: i=1; 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=6YWzlV0kzRgqDhyTbH2CNV18aY1MBTA/3l+fIsccv10=; fh=e0gwUwjkAxFLmLrbCKDdSk8Iw82/SVpoW6BkJj46ANE=; b=BANBIjZy753G4cf9LKB4i4CMroDJBLNgLEeZ7humg6TAQSwRudWCNyl+cYmVlI1Bje 2izzU8oM9BiTL9iz8IBrh/Lxdbpt4nGDN3TaeZFpHEHS+IUWreC4K5tjNAsF/dbbvEwI g015pxfeinq/aSCRWxtcYrl2GskTu4ffHtdWyECyTl3dNGo+f8HAbmrywfdVnak/BLwh C5yusSusSzwfQcWd+MeVgAa6Ejg1W7U+Wo9o1Dwzh7MY9hqVzYH05IF/CmOC2xDF67hx Plbs22xdBguBfX7iR2fRmVn3VTLjgZuYBncAwJnq3jIN5z9t+x0HjmlffKWFZQUd5POp Mpgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=TC1ohbRu; spf=pass (google.com: domain of linux-kernel+bounces-3051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3051-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bm41-20020a05620a19a900b0077f6c434ea3si19076652qkb.474.2023.12.17.22.40.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 22:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=TC1ohbRu; spf=pass (google.com: domain of linux-kernel+bounces-3051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3051-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ADF211C20BAA for ; Mon, 18 Dec 2023 06:40:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 183197499; Mon, 18 Dec 2023 06:40:36 +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="TC1ohbRu" X-Original-To: linux-kernel@vger.kernel.org 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 A47156FB2; Mon, 18 Dec 2023 06:40:32 +0000 (UTC) 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=1702881631; bh=6YWzlV0kzRgqDhyTbH2CNV18aY1MBTA/3l+fIsccv10=; h=Date:From:To:Cc:Subject:From; b=TC1ohbRuvgZ+qS3RBhiBc+LRd3B19ps83AK32OBpPgwrLVXETpwvxE92RGXI7Oedr fUikTbnRqYYTVVB9YSq+JPDzXW+KHFEkhrHsnIEvrxvvIXkAidInhaFWY6b504eiHS vhE77HuVq2NNjAQM5YkyXoDRQl2EHUTnwUZw3AjBBvtKF1CCPsGzfHoI4QuIN+Ai9M 3l2+PJK0vMR0fBUJ0Ws0h50oZ6YTGw79m7NMenCfTBCc/P0M1hY0a5sf53CEyhguh3 UmvG4sLu95sw4fIMyc5483cEnE6RaBZ7smYKLF5ey1CvqveOV4ktZCxcFajYyJuJlM MyZCrk0Ec1U4w== 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 4Stqvf6w3Fz4xNH; Mon, 18 Dec 2023 17:40:30 +1100 (AEDT) Date: Mon, 18 Dec 2023 17:40:30 +1100 From: Stephen Rothwell To: Kent Overstreet Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the header_cleanup tree Message-ID: <20231218174030.3ed72f54@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_/=crYclzqSyvhJEDVQOECaMF"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/=crYclzqSyvhJEDVQOECaMF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the header_cleanup tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from include/linux/kernel.h:27, from drivers/gpu/ipu-v3/ipu-dp.c:7: include/drm/drm_color_mgmt.h: In function 'drm_color_lut_extract': include/drm/drm_color_mgmt.h:45:46: error: implicit declaration of function= 'mul_u32_u32' [-Werror=3Dimplicit-function-declaration] 45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input= , (1 << bit_precision) - 1), | ^~~~~~~~~~~ include/linux/math.h:104:36: note: in definition of macro 'DIV_ROUND_CLOSES= T_ULL' 104 | unsigned long long _tmp =3D (x) + (__d) / 2; \ | ^ In file included from include/linux/time.h:6, from include/linux/videodev2.h:59, from include/video/imx-ipu-v3.h:16, from drivers/gpu/ipu-v3/ipu-dp.c:14: include/linux/math64.h: At top level: include/linux/math64.h:155:19: error: conflicting types for 'mul_u32_u32'; = have 'u64(u32, u32)' {aka 'long long unsigned int(unsigned int, unsigned = int)'} 155 | static inline u64 mul_u32_u32(u32 a, u32 b) | ^~~~~~~~~~~ include/drm/drm_color_mgmt.h:45:46: note: previous implicit declaration of = 'mul_u32_u32' with type 'int()' 45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input= , (1 << bit_precision) - 1), | ^~~~~~~~~~~ include/linux/math.h:104:36: note: in definition of macro 'DIV_ROUND_CLOSES= T_ULL' 104 | unsigned long long _tmp =3D (x) + (__d) / 2; \ | ^ cc1: some warnings being treated as errors In file included from include/linux/kernel.h:27, from drivers/gpu/drm/omapdrm/dss/dispc_coefs.c:7: include/drm/drm_color_mgmt.h: In function 'drm_color_lut_extract': include/drm/drm_color_mgmt.h:45:46: error: implicit declaration of function= 'mul_u32_u32' [-Werror=3Dimplicit-function-declaration] 45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input= , (1 << bit_precision) - 1), | ^~~~~~~~~~~ include/linux/math.h:104:36: note: in definition of macro 'DIV_ROUND_CLOSES= T_ULL' 104 | unsigned long long _tmp =3D (x) + (__d) / 2; \ | ^ In file included from include/linux/jiffies.h:7, from include/linux/ktime.h:25, from include/linux/timer.h:6, from include/linux/workqueue.h:9, from include/linux/mm_types.h:19, from include/linux/mmzone.h:22, from include/linux/gfp.h:7, from include/linux/stackdepot.h:25, from include/drm/drm_modeset_lock.h:28, from include/drm/drm_crtc.h:30, from drivers/gpu/drm/omapdrm/dss/omapdss.h:11, from drivers/gpu/drm/omapdrm/dss/dispc_coefs.c:9: include/linux/math64.h: At top level: include/linux/math64.h:155:19: error: conflicting types for 'mul_u32_u32'; = have 'u64(u32, u32)' {aka 'long long unsigned int(unsigned int, unsigned = int)'} 155 | static inline u64 mul_u32_u32(u32 a, u32 b) | ^~~~~~~~~~~ include/drm/drm_color_mgmt.h:45:46: note: previous implicit declaration of = 'mul_u32_u32' with type 'int()' 45 | return DIV_ROUND_CLOSEST_ULL(mul_u32_u32(user_input= , (1 << bit_precision) - 1), | ^~~~~~~~~~~ include/linux/math.h:104:36: note: in definition of macro 'DIV_ROUND_CLOSES= T_ULL' 104 | unsigned long long _tmp =3D (x) + (__d) / 2; \ | ^ cc1: some warnings being treated as errors I have dropped the header_cleanup tree for today. --=20 Cheers, Stephen Rothwell --Sig_/=crYclzqSyvhJEDVQOECaMF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmV/6V4ACgkQAVBC80lX 0GxoXQgAh5BnWPtLMjY9RcBZu9Qs0Mfx/K+0t5iL8YqE6382f93c91cvk6t3Qmnk hT05X5WHxsRFVvkH7AlTV9JU4iv8ksNOX256/uRZkj40sfz8E0dqq5cpFBmlqA+d /UU3oCSoaISYJODTSHd7UChIpAE/RwbJAJIBNiQJan8IUOde4cTjHp+DSFTdSki6 E2nmP/WvEWoy4x426u4t6wWQUxfRW+7ZQx5kK/dSU9l66y3lnCwgKA11T/4MjNLa bhVbdJcIufNhTwEsITZe0mA0QAgei+TBkSKm5M3rl8OzXXpmulS3aL06YofHw50y qWcBjg70245x3QUU0pmL+pvFuVfItw== =nd30 -----END PGP SIGNATURE----- --Sig_/=crYclzqSyvhJEDVQOECaMF--