From: Stephen Rothwell Subject: Re: linux-next: build failure after merge of the drm-misc tree Date: Mon, 14 Oct 2019 11:12:25 +1100 Message-ID: <20191014111225.66b36035@canb.auug.org.au> References: <20191008103045.2d4711e2@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2009715932==" Return-path: In-Reply-To: <20191008103045.2d4711e2@canb.auug.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: DRI , Mauro Carvalho Chehab , Dave Airlie Cc: Hans Verkuil , Daniel Vetter , Intel Graphics , Linux Next Mailing List , Linux Kernel Mailing List List-Id: dri-devel@lists.freedesktop.org --===============2009715932== Content-Type: multipart/signed; boundary="Sig_/IynAOh40NwOY6_v=aXfuQML"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/IynAOh40NwOY6_v=aXfuQML Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, This is now a semantic conflict between the drm and v4l-dvb trees. On Tue, 8 Oct 2019 10:30:45 +1100 Stephen Rothwell w= rote: > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: drivers/media/platform/cec-gpio/cec-gpio.c: In function 'cec_gpio_probe': drivers/media/platform/cec-gpio/cec-gpio.c:262:2: error: too few arguments = to function 'cec_notifier_cec_adap_unregister' 262 | cec_notifier_cec_adap_unregister(cec->notifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/media/platform/cec-gpio/cec-gpio.c:11: include/media/cec-notifier.h:98:6: note: declared here 98 | void cec_notifier_cec_adap_unregister(struct cec_notifier *n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/cec-gpio/cec-gpio.c: In function 'cec_gpio_remove': drivers/media/platform/cec-gpio/cec-gpio.c:272:2: error: too few arguments = to function 'cec_notifier_cec_adap_unregister' 272 | cec_notifier_cec_adap_unregister(cec->notifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/media/platform/cec-gpio/cec-gpio.c:11: include/media/cec-notifier.h:98:6: note: declared here 98 | void cec_notifier_cec_adap_unregister(struct cec_notifier *n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Caused by commit >=20 > 10d8f308ba3e ("cec: add cec_adapter to cec_notifier_cec_adap_unregister= ()") >=20 > interacting with commit >=20 > 7e86efa2ff03 ("media: cec-gpio: add notifier support") >=20 > form the v4l-dvb tree. >=20 > I have applied the following merge fix patch. >=20 > From: Stephen Rothwell > Date: Tue, 8 Oct 2019 10:26:05 +1100 > Subject: [PATCH] cec: fix up for "cec: add cec_adapter to > cec_notifier_cec_adap_unregister()" >=20 > Signed-off-by: Stephen Rothwell > --- > drivers/media/platform/cec-gpio/cec-gpio.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/media/platform/cec-gpio/cec-gpio.c b/drivers/media/p= latform/cec-gpio/cec-gpio.c > index 7be91e712c4a..42d2c2cd9a78 100644 > --- a/drivers/media/platform/cec-gpio/cec-gpio.c > +++ b/drivers/media/platform/cec-gpio/cec-gpio.c > @@ -259,7 +259,7 @@ static int cec_gpio_probe(struct platform_device *pde= v) > return 0; > =20 > unreg_notifier: > - cec_notifier_cec_adap_unregister(cec->notifier); > + cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); > del_adap: > cec_delete_adapter(cec->adap); > return ret; > @@ -269,7 +269,7 @@ static int cec_gpio_remove(struct platform_device *pd= ev) > { > struct cec_gpio *cec =3D platform_get_drvdata(pdev); > =20 > - cec_notifier_cec_adap_unregister(cec->notifier); > + cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); > cec_unregister_adapter(cec->adap); > return 0; > } --=20 Cheers, Stephen Rothwell --Sig_/IynAOh40NwOY6_v=aXfuQML Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl2jvWkACgkQAVBC80lX 0GxhMQf+IOH2N5GUA3sEEihwFNdRMxh4bjsFiylBGrj+lpSR809XXKFgcKWndm4W X8skcXPQJ9jcK+C7JOFRaKyvtqgCASaDdx0vHjT7LzpoHXxyRcaeUoDiXFFkpQN3 YiVPQphuHTqdCKcqGv5WEXM673PL/WzW1LmVWpMrHDdOkOiC2R2s0PUwmJ/p28CC gSqZeEKU4Iyzdb+kPwrLetiwElqEEuXCGCAdXyDNnVU4pi7k6QMGzgN3dHsmE7Ip lgFBBDdE4uKXloOGo56jTmChRqLeK9bc+T6JlnL0ygQyQkxZsLTXwHaEaGWXoyxB iPjzVKtce5H34SnRjJhjSHqVH4P/1w== =NVb/ -----END PGP SIGNATURE----- --Sig_/IynAOh40NwOY6_v=aXfuQML-- --===============2009715932== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4 --===============2009715932==--