Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp700608rdb; Thu, 18 Jan 2024 16:59:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGI/y+/vgEdDCZJvVqs9ycuyyszfxayuqoY+LHkz1MdvNytOgPFzFW3S5NlJnrdhuFDeIj5 X-Received: by 2002:a25:8587:0:b0:dc2:2d0a:4d49 with SMTP id x7-20020a258587000000b00dc22d0a4d49mr1606677ybk.67.1705625942482; Thu, 18 Jan 2024 16:59:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705625942; cv=pass; d=google.com; s=arc-20160816; b=Xu7ykzgn7qaDrkyNN+SSMOZzlouSW0/6VDqAE5apzDG6RFlRq5NoTtzzKWb/7F1rnY M2grKiXVYbriqzsjj891w6olgT5lW2tkUzsFZjcrAH9OYiy3y1g4QvLIILFuFXJGYEoa TMSGV8f0vVsHgwsuJNBbceZDnz95Z8s3MpsyauyNnmIH9sduznzmEMYPGQ3WW5ql2lQj iB+8engr1tDR82YgDc3GY2c3iKY0dNxW0AJAp1X9klW+NnPA53e4S6RjB9X3ipzg5eyR a+geUJm10Hx2ygADLeiGDQk91G94emUCvo25YtbyGAgRPriHjydvDrN11xxI1Lhk0rBD adbA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=43Ub4cxvhf4UbencJZZh1E96E6g/2qxuS/dzdCa2liY=; fh=Rvcc53TA5gJW3o3Tx/uaoTS/ZyD3XMH3cFlyErzMIXQ=; b=YYnclcw5Gz9zEXraYCp058duvO2+dbZNETV00lp2LMVQ7FthhamGZpoyCSW50k41Jz Hz9yWbgp60+ZGFTcvpsyZ+MR5aC7R0xkzTWJOUiWBfIrVEDPH+0ROjow0hGF5kFZQUCM CJ344NOG1PAB3TlU5Z7PSrR11DmrpfQlHKFQFRHDeSt5O/2GXyEev8pON0T1d56zAhUL qSg6WK41wYrlCZIvSbReMjiw5igvDqVPnykf3HzTINjF0Asf/thBKzgP5lM60WefrDF+ 6otnwgwk8lnNULZYB0qIu98CP7jK8VlhjMtkIdnin2/lqSDBssPMWB5uM/xjMs/FZl2t unRQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=lSBy4ghG; 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-30668-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30668-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 c17-20020a05622a059100b00427e87ba3e6si15020730qtb.157.2024.01.18.16.59.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 16:59:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30668-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=lSBy4ghG; 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-30668-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30668-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 2FA951C22C96 for ; Fri, 19 Jan 2024 00:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1371610F4; Fri, 19 Jan 2024 00:58:54 +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="lSBy4ghG" 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 3763881F; Fri, 19 Jan 2024 00:58:49 +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=1705625933; cv=none; b=tC6wUFvDVf5edrDwCaMcKWpUk58vzYtUEthCbu0ed0XH8GuJkvdoYQuNL8kaZ48P55toagd0Bjo2jNMkfXM0Up9LK58mq4lZab7Ky9AUiJALMtGHJDS4lHl3Ry4duS0YGaT4HUU9N9YfBFrudvu5Sz52SXWZt9Q4UJh2seYSqXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705625933; c=relaxed/simple; bh=z0fVImkm7UGSmqgWkIF+werv/LoyB0dHD2X3KsTXHlY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=b7Kw7dkn+vXcdbHFCcgCPOtCSAcMlkSwhEiuqw/pvuCZIvjTjULUGixwk7ETOLHjO5/8wUmzUDbzNPrCIDr/bBDcW+3g7ayE+U4Z/xbXMXiacG99lZiCDI7eM+UWeYkInjD3mTVJV5XUvp1SYGux+ikYTAUiqZ2SS3TY/mPOxn4= 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=lSBy4ghG; 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=1705625925; bh=43Ub4cxvhf4UbencJZZh1E96E6g/2qxuS/dzdCa2liY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lSBy4ghGe/51Y2lDRsKIun3YhCV07Bi8ZiVOBS3k2yUfyeuOQcflB2Fzoe3vr5W3y 7HQN6425dTl7Gr++PCG736NzCH7tvzCb2aIlcn3fYiKt60mgjfBhYMr5xvt3RmPhG5 raZ7Y2+ZUcfWyGI4EhF4yDGV09fJ8CJyJS2OczvXkwtGpR5K8xhGDY/lWTamMg+ave gMVwZDoEgyPOgjoOw3Gi9ehiYLdXQco00nRjjs9n8BZktvfxHLT05/yZeBngx3OU+V YqmtrA5xMuBU3HOW3GqQK2r4ocHVJgzBCrHYJfdWcz9YNUpk0aV4WGiPiDp7URYWzP 7eTbl4pMOrQZg== 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 4TGLpY2SD9z4x5m; Fri, 19 Jan 2024 11:58:45 +1100 (AEDT) Date: Fri, 19 Jan 2024 11:58:43 +1100 From: Stephen Rothwell To: Rob Herring , Andy Gross Cc: Abel Vesa , Bjorn Andersson , Rajendra Nayak , Sibi Sankar , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the devicetree tree Message-ID: <20240119115843.5556189a@canb.auug.org.au> In-Reply-To: <20231211160510.0aef871b@canb.auug.org.au> References: <20231211160510.0aef871b@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_/S/UQqlq2sNIGyL.SIsfvLS4"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/S/UQqlq2sNIGyL.SIsfvLS4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 11 Dec 2023 16:05:10 +1100 Stephen Rothwell = wrote: > > After merging the devicetree tree, today's linux-next build (x86_64 > allmodconfig) failed like this: >=20 > drivers/clk/qcom/gcc-x1e80100.c:6786:15: error: variable 'gcc_x1e80100_dr= iver' has initializer but incomplete type > 6786 | static struct platform_driver gcc_x1e80100_driver =3D { > | ^~~~~~~~~~~~~~~ > drivers/clk/qcom/gcc-x1e80100.c:6787:10: error: 'struct platform_driver' = has no member named 'probe' > 6787 | .probe =3D gcc_x1e80100_probe, > | ^~~~~ > drivers/clk/qcom/gcc-x1e80100.c:6787:18: warning: excess elements in stru= ct initializer > 6787 | .probe =3D gcc_x1e80100_probe, > | ^~~~~~~~~~~~~~~~~~ > drivers/clk/qcom/gcc-x1e80100.c:6787:18: note: (near initialization for '= gcc_x1e80100_driver') > drivers/clk/qcom/gcc-x1e80100.c:6788:10: error: 'struct platform_driver' = has no member named 'driver' > 6788 | .driver =3D { > | ^~~~~~ > drivers/clk/qcom/gcc-x1e80100.c:6788:19: error: extra brace group at end = of initializer > 6788 | .driver =3D { > | ^ > drivers/clk/qcom/gcc-x1e80100.c:6788:19: note: (near initialization for '= gcc_x1e80100_driver') > drivers/clk/qcom/gcc-x1e80100.c:6788:19: warning: excess elements in stru= ct initializer > drivers/clk/qcom/gcc-x1e80100.c:6788:19: note: (near initialization for '= gcc_x1e80100_driver') > drivers/clk/qcom/gcc-x1e80100.c: In function 'gcc_x1e80100_init': > drivers/clk/qcom/gcc-x1e80100.c:6796:16: error: implicit declaration of f= unction 'platform_driver_register' [-Werror=3Dimplicit-function-declaration] > 6796 | return platform_driver_register(&gcc_x1e80100_driver); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > drivers/clk/qcom/gcc-x1e80100.c: In function 'gcc_x1e80100_exit': > drivers/clk/qcom/gcc-x1e80100.c:6802:9: error: implicit declaration of fu= nction 'platform_driver_unregister'; did you mean 'driver_unregister'? [-We= rror=3Dimplicit-function-declaration] > 6802 | platform_driver_unregister(&gcc_x1e80100_driver); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | driver_unregister > drivers/clk/qcom/gcc-x1e80100.c: At top level: > drivers/clk/qcom/gcc-x1e80100.c:6786:31: error: storage size of 'gcc_x1e8= 0100_driver' isn't known > 6786 | static struct platform_driver gcc_x1e80100_driver =3D { > | ^~~~~~~~~~~~~~~~~~~ >=20 > Caused by commit >=20 > 0d18bcdebb2f ("of: Stop circularly including of_device.h and of_platfor= m.h") >=20 > interacting with commit >=20 > 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for = X1E80100") >=20 > from the qcom tree. >=20 > I have applied the following merge resolution patch. This patch could > be applied to the gcom tree. >=20 > From: Stephen Rothwell > Date: Mon, 11 Dec 2023 15:47:55 +1100 > Subject: [PATCH] fix up for "of: Stop circularly including of_device.h an= d of_platform.h" >=20 > interacting with > "clk: qcom: Add Global Clock controller (GCC) driver for X1E80100" >=20 > Signed-off-by: Stephen Rothwell > --- > drivers/clk/qcom/gcc-x1e80100.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/clk/qcom/gcc-x1e80100.c b/drivers/clk/qcom/gcc-x1e80= 100.c > index 74db7fef237b..d7182d6e9783 100644 > --- a/drivers/clk/qcom/gcc-x1e80100.c > +++ b/drivers/clk/qcom/gcc-x1e80100.c > @@ -4,8 +4,9 @@ > */ > =20 > #include > +#include > #include > -#include > +#include > #include > =20 > #include > --=20 > 2.40.1 Did this get lost somewhere among the merges? I am still applying the patch to linux-next. --=20 Cheers, Stephen Rothwell --Sig_/S/UQqlq2sNIGyL.SIsfvLS4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmWpyUMACgkQAVBC80lX 0GyWkQf+L0vDJrDDH7ETJZAIiuSjI874TntKzNyCasngpcN2J2sFxUweE51ghqrW h3WPB3fpnddjz1IGkIOZEPMWVjxXK+NuyI8XIlvrk0p3Vs8uFNJAtX9vTkcTpAlf it4P/WsdikzL1Q0iwzM3RCgIV8OtfvsDKjMZSLU1DxIG82DtAUMx7O4fKdGBnbWM VFPhJIPP9EhSX2pjQZXiHcXR5UtYiDACpipAYcF30unu31g5UlWutSpjXiCGklig UxAtNhFebWTZbGs0yHdTwWabW5WFvxh0VxNyv+Fv9dWfUKNj1JWQkFnonfZCO1Fh gpsnQSXE7WNTTc5NQwd9fna3rB/rBA== =2/Ew -----END PGP SIGNATURE----- --Sig_/S/UQqlq2sNIGyL.SIsfvLS4--