Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1729346lqm; Fri, 3 May 2024 05:08:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXepigKCeqkruRQ5nO2GPeGfekFJllDJt60TbnvJN53JwfOoEK18EBp6Kki/nShqYmPaCwZAAfnl919fnP7Yp/vnraRHrQlo7cUOtucQA== X-Google-Smtp-Source: AGHT+IFsmBeGZDmYiQ8dPo8oMIxZLZMjJnzBF/eCmTWbMfn2Otj1o8Louq1PN0+VVkVl0QtfSztJ X-Received: by 2002:a17:906:71d2:b0:a51:fec0:23ec with SMTP id i18-20020a17090671d200b00a51fec023ecmr1630938ejk.25.1714738126929; Fri, 03 May 2024 05:08:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714738126; cv=pass; d=google.com; s=arc-20160816; b=Teq/gBvU1seuqUZtnpy4Sv/bYX5++UyckZ3hruaZeRiBhtqFMtt1FZscTEZipqagS5 3fWnJZ4Boa5QFyRC1dXqHCEG7yF4wFb0F9VsQnlEghKClaKH3K/lCODNX4QWrq9rCzyo OjSez/gcZg+UGjOLc2RUrlaUXpAmHnV9EYNkC1HuNAXwo0OBshpYJDzVDYMuP/PH7e/3 jYrRpSDfaLOYP9tQ5rEoG2HXnQVzhr4iDyyJRmiWQaltcca6KjMjeF89e2DlTiLV+5KL oW+zsz6igM3DQWnjeTGRl7+IXMqe6Aygdu28fHPVZDNzEjte0FWHzsbHyyMYHpO8ICbf dB7Q== 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=jS0YccWUoBr+6hDrqtlbj+Xj122L9wmc7ZsHlWYue5w=; fh=C9iqylyWGHyx6QHKel9h0uS3I3EhveHkRf8woz1NV1I=; b=ocr0fitVBdWCn8YsjdFQuzt+JXm/5TrKdoT/HQc4HHzDbmrqmj6/HfFFVzTviZb+yT 0CrPGKi4b2PylrxMg8qA5Xwm0OpwYOCj0MsGzX0X8afd1umPLnEuyzAhSN10i7h2X0/l L1bwYm8Xeoc1APvbBsaMCFz2Lf68Hkz/WnU7wpU8IfA3cNdMvxvc7caEm3vw77tG+mNg yJcNqpWXtCKcduHkHQXpVMgVJjuZ6CzGvFx0JXoNJgtplautEtQe1Ln72el26DN7Uges r8hCnVlYT9uYkMsN+zVZOHKWUN14lWPFfmVmyd+uDgVyZNZIIj2F+9/Iji8pYtqK7laR hfQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tn9wkTGU; 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-167622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167622-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 am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lx13-20020a170906af0d00b00a5986a02eb1si855332ejb.582.2024.05.03.05.08.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 05:08:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tn9wkTGU; 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-167622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167622-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A75501F22C86 for ; Fri, 3 May 2024 12:08:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1C4C152E0D; Fri, 3 May 2024 12:08:38 +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="tn9wkTGU" Received: from mail.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 04A782D047; Fri, 3 May 2024 12:08:33 +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=1714738117; cv=none; b=Ai3R01qdWnxirY9zjZFLxhS7AebcW57Ev6iwpGsFzEZG+KsMKmCiWs6UcKqMIf0RGxqGGh62A7U7SkgdZO+sQRl6YAzO2r3Y3NbnRijjUnTjClstQ8o0ARoV4u8f9jqXWJkndnpzj6SNRXnQKc/mImMnKMK8Bn8CvQsAM7EmI/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714738117; c=relaxed/simple; bh=lquxxrcjF3xZu+atm9recj4rSMedgMoAfTuoNjXBLhE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=O1dNow88L1Fox7WGntWs4XV7m/7LZYKjsct2NFYzmzL74+AqBkrLyjmbKSVxjIyDTKrjhl4XAyET6W07E5oBouhJmrvJLUGs9k0bNambUBLI1z5vajZARg5CM+KhouKkvPSNaCzXp1C2g5UWNmuhpVWjxi+YlWMVc9/m9LbvaBs= 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=tn9wkTGU; 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=1714738111; bh=jS0YccWUoBr+6hDrqtlbj+Xj122L9wmc7ZsHlWYue5w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tn9wkTGU/DqvDM6VzwtNOqxO8goPwXCrFluhJPBhZGuL/+MZ9JrqMlFs0n9O6Ocks GP0vpE0+tBO12xUICUbhD5e17C/GrE8KPiOE7AWMypHdvwquGPHPeS+vg/dNCmB3iB QbVyfi7J54qYFZPUl32LRK6/nij9rR8QgdR8nV+qiTnQu+vj1l1+C6rppAioEuAwZK AvmRNX1p+9AxneMzgLXFaCvI+IIEXyuqMADGNPqfhrUv1ufI60woMLXvIXF7nQZ1ap g8UibEfsogEYDuT8pV27EnctLztXRPvetJRu03ZTat1b/G6ReM14qCNpMdEwVWK9vp re7TQ9hrPhRmA== 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 4VW8hv5Zffz4wck; Fri, 3 May 2024 22:08:31 +1000 (AEST) Date: Fri, 3 May 2024 22:08:26 +1000 From: Stephen Rothwell To: "Russell King (Oracle)" Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the arm tree Message-ID: <20240503220826.48a59ffd@canb.auug.org.au> In-Reply-To: References: <20240503101516.09f01e44@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_/W2VRBVMfeC3EtYxOTKWPpvr"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/W2VRBVMfeC3EtYxOTKWPpvr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Russell, On Fri, 3 May 2024 09:18:00 +0100 "Russell King (Oracle)" wrote: > > On Fri, May 03, 2024 at 10:15:16AM +1000, Stephen Rothwell wrote: > >=20 > > After merging the arm tree, today's linux-next build (x86_64 allmodconf= ig) > > failed like this: > >=20 > > drivers/clk/clkdev.c: In function 'vclkdev_alloc': > > drivers/clk/clkdev.c:195:16: error: assignment to '__va_list_tag (*)[1]= ' from incompatible pointer type '__va_list_tag **' [-Werror=3Dincompatible= -pointer-types] > > 195 | fmt.va =3D ≈ > > | ^ > > cc1: all warnings being treated as errors =20 >=20 > This builds perfectly fine for me - this is on debian stable with > arm-linux-gnueabihf-gcc (Debian 10.2.1-6) 10.2.1 20210110: >=20 > No warnings, no errors. >=20 > va_format is defined as: >=20 > struct va_format { > const char *fmt; > va_list *va; > }; >=20 > and what we have here is a "va_list ap". >=20 > Therefore, the assignment: >=20 > fmt.va =3D ≈ >=20 > is correct. >=20 > What certainly won't work is: >=20 > fmt.va =3D ap; >=20 > and there aren't any other reasonable alternatives. >=20 > My conclusion: your compiler is being stupid. Definitely possible. My build is an x86_64 allmodconfig cross build hosted on PowerPC64LE. $ x86_64-linux-gnu-gcc --version x86_64-linux-gnu-gcc (Debian 13.2.0-7) 13.2.0 It still fails for me even just building your tree. :-( And if I revert commit 5d998425e37b it does not fail (of course). --=20 Cheers, Stephen Rothwell --Sig_/W2VRBVMfeC3EtYxOTKWPpvr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmY007oACgkQAVBC80lX 0GzvaAgAoSjIVTPnLl2uuWdiBZABK+leKnUuRZ72LlHPzbaSPqL8MSeDMBYmmhVD baL34AhzTWx8vrmennM+bxb/PyQLpW4w0cKHp92B/moeNF727l0SV9a5KR+G4Mhz YEwtKgymg00b27D+UVaS3kXcvcvRCClB3/5VA4xCWLtbECuiUgL6BL6OqKuIb2PG z6x4dnN8RY+84Mlr6HOmeg6jd0Wm+oxeS0/pwPA0xp2lJ3rnASw+OadPRo/7QrlN 6pDI3+DA9/dSwTKiT4jpugZrFHUxxp51d3DY2i5ApHbUYoUlNUhfpO6+9ZWVtUKT z24IvH3YgrUeuWnMO4L26LNflw00Qg== =LqO/ -----END PGP SIGNATURE----- --Sig_/W2VRBVMfeC3EtYxOTKWPpvr--