linux-next: build failure after merge of the drm-misc tree
Subsystems (2)
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.
From: Stephen Rothwell <[email protected]>
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()"
--- drivers/media/platform/cec-gpio/cec-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/platform/cec-gpio/cec-gpio.c +2 -2
@@ -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 ; }
Signature · 5 lines
2.23.0.rc1 -- Cheers, Stephen Rothwell
Patchwork
CI✗ Fi.CI.BUILD: failure for linux-next: build failure after merge of the drm-misc tree
== Series Details ==
== Series Details ==
Series: linux-next: build failure after merge of the drm-misc tree
URL : https://patchwork.freedesktop.org/series/67718/
State : failure
== Summary ==
Applying: linux-next: build failure after merge of the drm-misc tree
error: sha1 information is lacking or useless (drivers/media/platform/cec-gpio/cec-gpio.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch' to see the failed patch
Patch failed at 0001 linux-next: build failure after merge of the drm-misc tree When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi all,
Quoted 6 lines · On Tue, 8 Oct 2019 10:30:45 +1100 Stephen Rothwell <[email protected]> wrote:
Hi all,
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Sorry, forgot to include the error messages. But they shuld be clear from the fix ...
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Hi all,
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) failed like this:Caused by commit
10d8f308ba3e("cec: addcec_adaptertocec_notifier_cec_adap_unregister()")
Quoted 7 lines
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
Quoted 34 lines
From: Stephen Rothwell <[email protected]>
Date: Tue, 8 Oct 2019 10:26:05 +1100
Subject: [PATCH] cec: fix up for "cec: addcec_adapterto
cec_notifier_cec_adap_unregister()"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/media/platform/cec-gpio/cec-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/media/platform/cec-gpio/cec-gpio.c +2
-2@@ -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 ; }
Hi all,
This is now a semantic conflict between the drm and v4l-dvb trees.
Quoted 3 lines · On Tue, 8 Oct 2019 10:30:45 +1100 Stephen Rothwell <[email protected]> wrote:
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) 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,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Quoted 44 lines
Caused by commit
10d8f308ba3e("cec: addcec_adaptertocec_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.
From: Stephen Rothwell <[email protected]>
Date: Tue, 8 Oct 2019 10:26:05 +1100
Subject: [PATCH] cec: fix up for "cec: addcec_adapterto
cec_notifier_cec_adap_unregister()"Signed-off-by Stephen Rothwell <[email protected]>--- drivers/media/platform/cec-gpio/cec-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/media/platform/cec-gpio/cec-gpio.c +2
-2@@ -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 ; }
Signature · 2 lines
Cheers, Stephen Rothwell
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx