linux-next: build failure after merge of the drm-misc tree
Subsystems (4)
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/usb/typec/altmodes/displayport.c: In function 'dp_altmode_vdm':drivers/usb/typec/altmodes/displayport.c:309:33: error: too few arguments to function 'drm_connector_oob_hotplug_event'
309 | drm_connector_oob_hotplug_event(dp->connector_fwnode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/typec/altmodes/displayport.c:17:
include/drm/drm_connector.h:1984:6: note: declared here
1984 | void drm_connector_oob_hotplug_event(struct fwnode_handle *connector_fwnode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
fc93835bb0d7 ("drm: Add HPD state to drm_connector_oob_hotplug_event()")
interacting with commit
89434b069e46 ("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")
from the usb.current tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Thu, 12 Oct 2023 12:17:31 +1100
Subject: [PATCH] fix up for "drm: Add HPD state to
drm_connector_oob_hotplug_event()"
interacting with commit
89434b069e46 ("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")
--- drivers/usb/typec/altmodes/displayport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/typec/altmodes/displayport.c +2 -1
@@ -306,7 +306,8 @@ static int dp_altmode_vdm(struct typec_altmode *alt, dp->data.status =0 ; dp->data.conf =0 ;if (dp->hpd) { -drm_connector_oob_hotplug_event (dp->connector_fwnode); + drm_connector_oob_hotplug_event(dp->connector_fwnode + connector_status_disconnected); dp->hpd = false;sysfs_notify (&dp->alt->dev.kobj,"displayport" ,"hpd" ); }
Signature · 5 lines
2.40.1 -- Cheers, Stephen Rothwell
Hi all,
Quoted 44 lines · On Thu, 12 Oct 2023 12:22:09 +1100 Stephen Rothwell <[email protected]>…
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/usb/typec/altmodes/displayport.c: In function 'dp_altmode_vdm':drivers/usb/typec/altmodes/displayport.c:309:33: error: too few arguments to function 'drm_connector_oob_hotplug_event'309 | drm_connector_oob_hotplug_event(dp->connector_fwnode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/usb/typec/altmodes/displayport.c:17: include/drm/drm_connector.h:1984:6: note: declared here 1984 | void drm_connector_oob_hotplug_event(struct fwnode_handle *connector_fwnode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
fc93835bb0d7("drm: Add HPD state todrm_connector_oob_hotplug_event()")interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")from the usb.current tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Thu, 12 Oct 2023 12:17:31 +1100
Subject: [PATCH] fix up for "drm: Add HPD state to
drm_connector_oob_hotplug_event()"interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")Signed-off-by Stephen Rothwell <[email protected]>--- drivers/usb/typec/altmodes/displayport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/usb/typec/altmodes/displayport.c +0
-0
drivers/usb/typec/altmodes/displayport.c static int dp_altmode_vdm(struct typec_altmode *alt, · line 309
Quoted 5 lines
drivers/usb/typec/altmodes/displayport.c +1
-1@@ -306,7 +306,8 @@ static int dp_altmode_vdm(struct typec_altmode *alt, dp->data.status =0 ; dp->data.conf =0 ;if (dp->hpd) { -drm_connector_oob_hotplug_event (dp->connector_fwnode); + drm_connector_oob_hotplug_event(dp->connector_fwnode
Pretend that there is a comma at the end of the above line :-)
Quoted 6 lines
drivers/usb/typec/altmodes/displayport.c +1
-0+ connector_status_disconnected); dp->hpd = false;sysfs_notify (&dp->alt->dev.kobj,"displayport" ,"hpd" ); }Signature · 1 line
2.40.1
Signature · 2 lines
Cheers, Stephen Rothwell
Greg Kroah-Hartman
maintainerQuoted 42 lines · Stephen Rothwell
Hi all,
Quoted 39 lines · On Thu, 12 Oct 2023 12:22:09 +1100 Stephen Rothwell <[email protected]>…
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/usb/typec/altmodes/displayport.c: In function 'dp_altmode_vdm':drivers/usb/typec/altmodes/displayport.c:309:33: error: too few arguments to function 'drm_connector_oob_hotplug_event'309 | drm_connector_oob_hotplug_event(dp->connector_fwnode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/usb/typec/altmodes/displayport.c:17: include/drm/drm_connector.h:1984:6: note: declared here 1984 | void drm_connector_oob_hotplug_event(struct fwnode_handle *connector_fwnode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
fc93835bb0d7("drm: Add HPD state todrm_connector_oob_hotplug_event()")interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")from the usb.current tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Thu, 12 Oct 2023 12:17:31 +1100
Subject: [PATCH] fix up for "drm: Add HPD state to
drm_connector_oob_hotplug_event()"interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")Signed-off-by Stephen Rothwell <[email protected]>--- drivers/usb/typec/altmodes/displayport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 12 lines
drivers/usb/typec/altmodes/displayport.c static int dp_altmode_vdm(struct typec_altmode *alt, · line 309
Quoted 10 lines
drivers/usb/typec/altmodes/displayport.c +1
-1@@ -306,7 +306,8 @@ static int dp_altmode_vdm(struct typec_altmode *alt, dp->data.status =0 ; dp->data.conf =0 ;if (dp->hpd) { -drm_connector_oob_hotplug_event (dp->connector_fwnode); + drm_connector_oob_hotplug_event(dp->connector_fwnodePretend that there is a comma at the end of the above line :-)
Looks good to me, thanks!
greg k-h
Hi all,
Quoted 54 lines · On Thu, 12 Oct 2023 12:27:49 +1100 Stephen Rothwell <[email protected]>…
Quoted 44 lines · On Thu, 12 Oct 2023 12:22:09 +1100 Stephen Rothwell <[email protected]>…
After merging the drm-misc tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/usb/typec/altmodes/displayport.c: In function 'dp_altmode_vdm':drivers/usb/typec/altmodes/displayport.c:309:33: error: too few arguments to function 'drm_connector_oob_hotplug_event'309 | drm_connector_oob_hotplug_event(dp->connector_fwnode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/usb/typec/altmodes/displayport.c:17: include/drm/drm_connector.h:1984:6: note: declared here 1984 | void drm_connector_oob_hotplug_event(struct fwnode_handle *connector_fwnode, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
fc93835bb0d7("drm: Add HPD state todrm_connector_oob_hotplug_event()")interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")from the usb.current tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Thu, 12 Oct 2023 12:17:31 +1100
Subject: [PATCH] fix up for "drm: Add HPD state to
drm_connector_oob_hotplug_event()"interacting with commit
89434b069e46("usb: typec: altmodes/displayport: Signal hpd low when exiting mode")Signed-off-by Stephen Rothwell <[email protected]>--- drivers/usb/typec/altmodes/displayport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/usb/typec/altmodes/displayport.c +0
-0drivers/usb/typec/altmodes/displayport.c static int dp_altmode_vdm(struct typec_altmode *alt, · line 309
Quoted 5 lines
drivers/usb/typec/altmodes/displayport.c +1
-1@@ -306,7 +306,8 @@ static int dp_altmode_vdm(struct typec_altmode *alt, dp->data.status =0 ; dp->data.conf =0 ;if (dp->hpd) { -drm_connector_oob_hotplug_event (dp->connector_fwnode); + drm_connector_oob_hotplug_event(dp->connector_fwnodePretend that there is a comma at the end of the above line :-)
Quoted 6 lines
Quoted 6 lines
drivers/usb/typec/altmodes/displayport.c +1
-0+ connector_status_disconnected); dp->hpd = false;sysfs_notify (&dp->alt->dev.kobj,"displayport" ,"hpd" ); }Signature · 1 line
2.40.1
This is now a conflict between the drm tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BUILD: failure for linux-next: build failure after merge of the drm-misc tree (rev2)
In reply to Stephen Rothwell== Series Details ==
== Series Details ==
Series: linux-next: build failure after merge of the drm-misc tree (rev2)
URL : https://patchwork.freedesktop.org/series/125017/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/125017/revisions/2/mbox/ not applied
Applying: linux-next: build failure after merge of the drm-misc tree
error: sha1 information is lacking or useless (drivers/usb/typec/altmodes/displayport.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' 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".
Build failed, no error log produced