Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp37319rdh; Wed, 20 Dec 2023 21:58:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEn/FrqJNcllWs7PI5s6Ts2U4gGU8WPkHjSY/wZk8TVzoHYtUf8dzC3ywAcvQ8mFkSrZbz X-Received: by 2002:a17:906:73cd:b0:a23:4ca1:9662 with SMTP id n13-20020a17090673cd00b00a234ca19662mr3744589ejl.49.1703138317849; Wed, 20 Dec 2023 21:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703138317; cv=none; d=google.com; s=arc-20160816; b=bS/2Gc+D5AlDRvEb5/KfoTM//0YH/aWXwEf/eK0uqmnUSeTKDfVTKIKbGfNTDZQ6kV einvDjdWZLdrbXd7QEc486QM0hofuwQkB8O9h5xG3F8Z4LYAWRID8+nI0aIfASYqgrQU yXwtssv6JDsyaTSOKvv44fkwgbxj8FZc2KCmvya9EEIl+c5yIt4TmObSyIJZNJKc3ogC 3n8yo0jLZ2/JH8bU4LvzFb4QVEcjOEtsUSNLg7E3LylB4qJmd5elVpuBT+7ezxMSNmm5 U16fyJLjPeK0SII/g+Bof9flFfoESW7fmgwmLtdW7il+Li6wEOBIEvfHQ9DG35F+860H AW/g== 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=W9WVhROU+IkzZLwkcXujAUaruo43ab/6jRxwxCmucCQ=; fh=IIpBq85ljUotdvBcw9mdyL8GadkmAcb79uo/zKqb/mQ=; b=QBdFLh+WqrMf/whSzaxzNgmerSF9PuMxZqGXFJPGEA/rto3w7d2VeoZgg1TzDQn9d5 GPdWipTBbfp+KCBJzY7g5tG7jH0ZzOSn5W7rcBBqguOMsDFCSKaJWW1qH9U1ZATH+Gi6 JeGMPsoPyXCPbCu983p+ychvTKiDVXRSQ7kk2yjmKwyPEBQ5bXLzaB8fJpx0KQ8tl/Dv HsvJPtodIKdDgQdYPhufHAVPiohvOsLtrH+dutaav45qqn4FxgaAXLDPnft5t5izkEH0 MRw48I6T0qa5l4rsg/eu3/+q7xs2K6RQQJlyouqNhg2zaFRROWJG5ufrcSwkwJuCAO1P s4fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Vs3XnrV2; spf=pass (google.com: domain of linux-kernel+bounces-7875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7875-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 gi9-20020a1709070c8900b00a2333654754si508417ejc.125.2023.12.20.21.58.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 21:58:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7875-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=Vs3XnrV2; spf=pass (google.com: domain of linux-kernel+bounces-7875-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7875-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 8C8581F24680 for ; Thu, 21 Dec 2023 05:58:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E7C8D309; Thu, 21 Dec 2023 05:58:14 +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="Vs3XnrV2" 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 D8B19C2E6; Thu, 21 Dec 2023 05:58:09 +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=1703138287; bh=W9WVhROU+IkzZLwkcXujAUaruo43ab/6jRxwxCmucCQ=; h=Date:From:To:Cc:Subject:From; b=Vs3XnrV2DBaQye1qqFRU4nZywhbLwz/LF0l9b3l4mN+9cwK5d8CqBypB26Ab0T3xy 6cTaRexp+nnVR/VUQw93kuDu0VrVy1RGqAwwy9Ee58MWHhqMZ1s6rRzrTN5bQgzA+Q S1WsHC7SK6Gjz7oibeZpp3CiIq7cs1R7Gys5TJnNHwoCpw/echOXiZ9sBflu8fRr/f QhZdjZPoKz3Duntd1azZtX8+1Qdwr4dRLfCw71vrPOXy9PMBcJF8sddOXcZSQ+Actf QHA/TrNyNlW1P4SChFzu0oH+M5Zvy03CuAeaQc+nC1OU/Xh1MSN7cOQAcDL+zbqiBQ J5/qJm+f32IAQ== 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 4SwfqL44kgz4wbr; Thu, 21 Dec 2023 16:58:06 +1100 (AEDT) Date: Thu, 21 Dec 2023 16:58:05 +1100 From: Stephen Rothwell To: Lee Jones , Thierry Reding Cc: Sean Young , Flavio Suligoi , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the pwm tree Message-ID: <20231221165805.0c4771c1@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_/V1ol2N+FvGoGBHhVCu54mCy"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/V1ol2N+FvGoGBHhVCu54mCy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/video/backlight/mp3309c.c: In function 'mp3309c_bl_update_status': drivers/video/backlight/mp3309c.c:134:23: error: implicit declaration of fu= nction 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werror=3Dimplici= t-function-declaration] 134 | ret =3D pwm_apply_state(chip->pwmd, &pwmstate); | ^~~~~~~~~~~~~~~ | pwm_apply_args Caused by commit c748a6d77c06 ("pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()") interacting with commit 2e914516a58c ("backlight: mp3309c: Add support for MPS MP3309C") from the backlight tree. I have appplied the following merge fix patch. From: Stephen Rothwell Date: Thu, 21 Dec 2023 16:13:37 +1100 Subject: [PATCH] fix up for "backlight: mp3309c: Add support for MPS MP3309= C" from the backlight tree interacting with commit c748a6d77c06 ("pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()") from the pwm tree. Signed-off-by: Stephen Rothwell --- drivers/video/backlight/mp3309c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/mp3309c.c b/drivers/video/backlight/mp= 3309c.c index 34d71259fac1..b0d9aef6942b 100644 --- a/drivers/video/backlight/mp3309c.c +++ b/drivers/video/backlight/mp3309c.c @@ -131,7 +131,7 @@ static int mp3309c_bl_update_status(struct backlight_de= vice *bl) chip->pdata->levels[brightness], chip->pdata->levels[chip->pdata->max_brightness]); pwmstate.enabled =3D true; - ret =3D pwm_apply_state(chip->pwmd, &pwmstate); + ret =3D pwm_apply_might_sleep(chip->pwmd, &pwmstate); if (ret) return ret; =20 @@ -393,7 +393,7 @@ static int mp3309c_probe(struct i2c_client *client) chip->pdata->default_brightness, chip->pdata->max_brightness); pwmstate.enabled =3D true; - ret =3D pwm_apply_state(chip->pwmd, &pwmstate); + ret =3D pwm_apply_might_sleep(chip->pwmd, &pwmstate); if (ret) return dev_err_probe(chip->dev, ret, "error setting pwm device\n"); --=20 2.43.0 --=20 Cheers, Stephen Rothwell --Sig_/V1ol2N+FvGoGBHhVCu54mCy Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmWD0+0ACgkQAVBC80lX 0Gwpcgf/QoObjAEU4FGHKar8ldO1j/e87uJFegGqZXmSYkUNnDT6CkOdSG5Csk0u q6AIBGqQML5cuG/QFgLaNtg+7ZvbwfG5kzAXUYJG9MTWLp7GHXO/omSsnvNmZBwe //prFdmkw90HwIigWCS6PpBq9QxbJW6bTzVd/56QLsKxy6a7SaEwL/TLFNMpRWBR N5kVBXf07veREM39cqmLBL/JtawQTziLhw+gX2Zb3e3yBVGcaz88j2C9od8BuLMI kqutrcehxIOe0in/GG3/sES+/tAzsECjZkYy5xMB7yJYrQ1ngfnfYVbpA8B/X7qf QpLp2I4aUSyMVGQfiEtf9sKrX/VKDg== =Vrbr -----END PGP SIGNATURE----- --Sig_/V1ol2N+FvGoGBHhVCu54mCy--