Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7977165rdb; Thu, 4 Jan 2024 14:10:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXNJU4R0J42ewsMSOl8yuGFhK1PO8PR1+UWp/Tg2qKLttarp1+TwuH5yUDlAgNDkwfnM/l X-Received: by 2002:a25:83c3:0:b0:db7:dacf:ed65 with SMTP id v3-20020a2583c3000000b00db7dacfed65mr1227178ybm.70.1704406249143; Thu, 04 Jan 2024 14:10:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704406249; cv=none; d=google.com; s=arc-20160816; b=OflVUPW3LxnLN+I3n7AFA+EA+u3rpvxERnWV0i/wNzKFOruVDmmBi1WeNsuzTBvaxE /DeZTMsibMHiZJpdFSP0cnDVGvcJ8pWwUZ74cxvK748nIgQgh3ijWlZiFOJR7ZXbcm1C wa1OWpoBjRIEj2l+cvK7JpYddcgmFBRqTqBdLFWRcFYSLc0NE59N6BHP7PPrLtaXK7VQ Y4+PEZsoANjE0JhpGrBSn6YAPE1a/aQMrs5XGG7GJ7ZtMnYaukMQDnaiZoAQpE+95HxY /ZDLbjv6sUg/yDPYQEZm77M+dB4QTvSDN1FKekGtxFU/H5xa3YybuA3y77MSvokEzqbg yLbQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=If2814HFR+59WDsBz9gf/4ej7C70sl4Dq1sz0ZnVow0=; fh=VWWKMBhbRESDH1I4kim63D7aBx61NselcwvKvkqWB2k=; b=KBOy373sJ3Ntjby6GQB5vUcGyB23RJ797DrBB9PsVTzArzuQfm9uv9Zysbwlui/X9s FpwA17wS1t008ypb1RmnYa/9vpalaAsxIQX5KhLYLSKjolaeRA/GZhgx4wWwd21ur+D4 slIogp2y5o7dRHT5uLQlKRaL1L7NgPymllEQpk/zNloXLjHfJeptDfxVl/ahuuFRtINy HSv4btu1/JaWWF7pcfnD0Av/SF9tBN/BkTXNscrnqJA+Y5M9IfqtPA5sB/LFvcZyDnJP 6wbBPiMDcr2nm0J47QBwUSnigDptdYipiXGApzON7p3CW6OAJXCZ2yY+iuO8CVJp7oqn HqYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rothwell.id.au header.s=201702 header.b=c1KjIIBQ; spf=pass (google.com: domain of linux-kernel+bounces-17275-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rothwell.id.au Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g15-20020a0cf08f000000b0067f66f23747si411175qvk.399.2024.01.04.14.10.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 14:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17275-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=@rothwell.id.au header.s=201702 header.b=c1KjIIBQ; spf=pass (google.com: domain of linux-kernel+bounces-17275-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rothwell.id.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 D34F61C211ED for ; Thu, 4 Jan 2024 22:10:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 449BA2C863; Thu, 4 Jan 2024 22:10:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rothwell.id.au header.i=@rothwell.id.au header.b="c1KjIIBQ" X-Original-To: linux-kernel@vger.kernel.org Received: from gimli.rothwell.id.au (gimli.rothwell.id.au [103.230.158.156]) (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 C1BDA1E4A8; Thu, 4 Jan 2024 22:10:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rothwell.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rothwell.id.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothwell.id.au; s=201702; t=1704405892; bh=If2814HFR+59WDsBz9gf/4ej7C70sl4Dq1sz0ZnVow0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c1KjIIBQ43iscQf/typY4aFGldEFLPGs188eQ0bDYCYo4QYVixsQospEPF3mjw/nG 48oEEv6kF4Lp4CkVXn5VTr5siaM6CdCpqqSnh0rG2qCLyLzeo3lioBTw4jeBLwDfPu xgkyzNl+LFh/uPDQgX/HwdhFMP2qvNExm2rpZgBtSUgHWxN3kjleiI/SzPxGWJWhpg cAF0MC9Djf+yISgrjElB/zfsTtLQPY58VijdJYR1pQwS+CeYHFkp4bG84wbOJnsnh6 ZYlZV1FDd3rWO77YNkKIqjpapDdqlk3saXdgy4Ue+fkqBCzW0KfHSfpz/hyeflILrY Uj7JLzqHxOSoQ== Received: from authenticated.rothwell.id.au (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.rothwell.id.au (Postfix) with ESMTPSA id 4T5gcM013wzyb9; Fri, 5 Jan 2024 09:04:50 +1100 (AEDT) Date: Fri, 5 Jan 2024 09:04:49 +1100 From: Stephen Rothwell To: Sean Young Cc: Bagas Sanjaya , Thierry Reding , Lee Jones , Jingoo Han , Linus Torvalds , Stephen Rothwell , Flavio Suligoi , Linux Kernel Mailing List , Linux Next Mailing List , Linux DRI Development Subject: Re: (subset) linux-next: build failure after merge of the pwm tree Message-ID: <20240105090449.5cf240ec@oak> In-Reply-To: References: <20231221165805.0c4771c1@canb.auug.org.au> <170316329164.542553.8341559295114557258.b4-ty@kernel.org> <20231221125801.GG10102@google.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-redhat-linux-gnu) 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_/xW9ccXYMuSXzGh3Fg8i_Q4P"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/xW9ccXYMuSXzGh3Fg8i_Q4P Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 4 Jan 2024 12:50:28 +0000 Sean Young wrote: > > On Thu, Jan 04, 2024 at 05:02:41PM +0700, Bagas Sanjaya wrote: > > [also add Jingoo (additional backlight maintainer) and Linus] > >=20 > > On Thu, Dec 21, 2023 at 07:34:57PM +0100, Thierry Reding wrote: =20 > > > On Thu, Dec 21, 2023 at 12:58:01PM +0000, Lee Jones wrote: =20 > > > > On Thu, 21 Dec 2023, Lee Jones wrote: > > > > =20 > > > > > On Thu, 21 Dec 2023 16:58:05 +1100, Stephen Rothwell wrote: =20 > > > > > > After merging the backlight tree, today's linux-next build (x86= _64 > > > > > > allmodconfig) failed like this: > > > > > >=20 > > > > > > drivers/video/backlight/mp3309c.c: In function 'mp3309c_bl_upda= te_status': > > > > > > drivers/video/backlight/mp3309c.c:134:23: error: implicit decla= ration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werr= or=3Dimplicit-function-declaration] > > > > > > 134 | ret =3D pwm_apply_state(chip->pwmd, &pw= mstate); > > > > > > | ^~~~~~~~~~~~~~~ > > > > > > | pwm_apply_args > > > > > >=20 > > > > > > [...] =20 > > > > >=20 > > > > > Applied, thanks! > > > > >=20 > > > > > [1/1] linux-next: build failure after merge of the pwm tree > > > > > commit: f7baa9ccef93ba1c36a8ecf58c2f4e86fb3181b9 =20 > > > >=20 > > > > Actually it's: > > > >=20 > > > > f7baa9ccef93b ("backlight: mp3309c: Rename pwm_apply_state() to = pwm_apply_might_sleep()") > > > >=20 > > > > But don't bank on the commit ID staying the same. =20 > > >=20 > > > This is likely going to break the build on your branch because > > > pwm_apply_might_sleep() is only available in the PWM tree right now. = In > > > any case, I've now pushed a commit that adds pwm_apply_state() back a= s a > > > compatibility stub, so it should be okay for you to drop this if you > > > run into problems. It's always possible that somebody else wants to a= dd > > > a new caller of pwm_apply_state() and in retrospect we should've > > > probably done this from the start, at least as a transitional measure > > > for one or two cycles. > > > =20 > >=20 > > Hi Lee and Thierry, > >=20 > > I know that we're still on New Year vibes, so some things are not up to= full > > steam for now; but since we're close to v6.7 release and v6.8 merge win= dow, > > hence allow me to ask: > >=20 > > Stephen Rothwell is still complaining about backlight tree build failure > > due to f7baa9ccef93b, yet it has not been fixed so far. Has the culprit > > been dropped/reverted as he requested? The worst case is the culprit sl= ips > > through and become part of backlight PR and Linus will likely not happy > > with the build regression (maybe he had to fix by himself). =20 >=20 > This should be fixed by 9a216587a03df, and on current linux-next I can't= =20 > reproduce the problem any more (x86_64 allmodconfig). Of course linux-next is fine, because I have fixed it up in there. Here is the problem: the backlight tree (git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backli= ght-next) is broken when built in its own because of the above patch (which is commit f7baa9ccef93). In linux-next, I have been merging the previous working version of the backlight tree (with head commit 7d84a63a39b7). The patch (commit f7baa9ccef93) can only be applied to the merge of the backlight tree and the pwm tree (git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git= #for-next) which is merged much later in the linux-next process. If the backlight tree was merged by Linus before the pwm tree, it would break his build (and he would not be happy). But the patch on the head of the backlight tree was made unnecessary by commit 9a216587a03d in the pwm tree. So, please either revert commit f7baa9ccef93 in the backlight tree (or simply to a "git reset --hard HEAD^" there). The patch of commit f7baa9ccef93 can be applied some time later (after Linus has merged both trees. --=20 Cheers, Stephen Rothwell --Sig_/xW9ccXYMuSXzGh3Fg8i_Q4P Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmWXK4EACgkQAVBC80lX 0Gy01Qf6A1C5SMeayXoJVjrb1sBes2bSqA6BnrLQT9O2O/FGzvW678lYwOppq2Z4 vgkvFcEMrBD82x/7DBmRZye3XdnyZwjHwHuHqA7Q+soXunIWOz6DgyaJ89GQ4BBs Nyndkrfj/f1xNN9PCxxDzB/Uv45RUVNT9EMMWlVdjZLSrcJLj8YL3NWNEE50++K8 8eYw2XF8j6SASp55r+bgZfLJEvygCwrzY4IgrPWt9gP5YXSsZ8MpPvo32UhEqUnJ Y7vZCwE+W3Geyd1W+ujzT3GnZKyI5L3Jtok5CJI6gzXKC9LYI+aCVwgjy580qtbG CZC/3XsFPtr2wLlnB32M7KuCRhoAZA== =M1fR -----END PGP SIGNATURE----- --Sig_/xW9ccXYMuSXzGh3Fg8i_Q4P--