From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Verkuil Subject: Re: linux-next: build failure after merge of the drm-misc tree Date: Tue, 8 Oct 2019 09:56:31 +0200 Message-ID: <225b19dd-a0bb-37a0-afbd-14acd5067521@xs4all.nl> References: <20191008103045.2d4711e2@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20191008103045.2d4711e2@canb.auug.org.au> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell , Daniel Vetter , Intel Graphics , DRI , Mauro Carvalho Chehab Cc: Linux Next Mailing List , Linux Kernel Mailing List List-Id: dri-devel@lists.freedesktop.org On 10/8/19 1:30 AM, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > > Caused by commit > > 10d8f308ba3e ("cec: add cec_adapter to cec_notifier_cec_adap_unregister()") > > interacting with commit > > 7e86efa2ff03 ("media: cec-gpio: add notifier support") > > form the v4l-dvb tree. > > I have applied the following merge fix patch. That's the correct fix, thank you! Regards, Hans > > 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()" > > Signed-off-by: Stephen Rothwell > --- > drivers/media/platform/cec-gpio/cec-gpio.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/platform/cec-gpio/cec-gpio.c b/drivers/media/platform/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 *pdev) > return 0; > > 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 *pdev) > { > struct cec_gpio *cec = platform_get_drvdata(pdev); > > - cec_notifier_cec_adap_unregister(cec->notifier); > + cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); > cec_unregister_adapter(cec->adap); > return 0; > } >