Skip to contentSkip to conversation

fix build with XEN and EARLY_PRINTK_DBGP enabled but USB_SUPPORT disabled

PATCH Greg KH 2 participants 5 messages Nov 2, 2012 4 messages not in the archive USB

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author maintainer
#1 lore raw
Quoted 1 line · Jan Beulich

Since there's no possible caller of dbgp_external_startup() and

<snip>

Please just send the incremental patch, in a format that I can apply it (hint, as an attachment like this I can't, as I would have to hand-edit the attachment, and I might get it wrong...)

thanks,

greg k-h

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by Alan Stern
#3 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 1 line · Jan Beulich

Since there's no possible caller of dbgp_external_startup() and

<snip>

Please just send the incremental patch, in a format that I can apply it (hint, as an attachment like this I can't, as I would have to hand-edit the attachment, and I might get it wrong...)

Here you go:

fix build of EHCI debug port code when USB_CHIPIDEA but !USB_EHCI_HCD

Relax condition of building the reset interface stubs in drivers/usb/early/ehci-dbgp.c from USB_EHCI_HCD to just USB, to also cover the chipidea driver re-using code from ehci-hcd.

---
 drivers/usb/early/ehci-dbgp.c       |   4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/early/ehci-dbgp.c +2 -2
@@ -974,7 +974,7 @@ struct console early_dbgp_console = {
 	.index =	-1,
 };
 
-#if IS_ENABLED(CONFIG_USB_EHCI_HCD)
+#if IS_ENABLED(CONFIG_USB)
 int dbgp_reset_prep(struct usb_hcd *hcd)
 {
 	int ret = xen_dbgp_reset_prep(hcd);
@@ -1008,7 +1008,7 @@ int dbgp_external_startup(struct usb_hcd
 	return xen_dbgp_external_startup(hcd) ?: _dbgp_external_startup();
 }
 EXPORT_SYMBOL_GPL(dbgp_external_startup);
-#endif /* USB_EHCI_HCD */
+#endif /* USB */
 
 #ifdef CONFIG_KGDB

A message that is not in the archive (sent off-list or not yet received): [email protected]

author maintainer
#5 lore raw
Quoted 10 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 1 line · Jan Beulich

Since there's no possible caller of dbgp_external_startup() and

<snip>

Please just send the incremental patch, in a format that I can apply it (hint, as an attachment like this I can't, as I would have to hand-edit the attachment, and I might get it wrong...)

Quoted 7 lines

Here you go:

fix build of EHCI debug port code when USB_CHIPIDEA but !USB_EHCI_HCD

Relax condition of building the reset interface stubs in drivers/usb/early/ehci-dbgp.c from USB_EHCI_HCD to just USB, to also cover the chipidea driver re-using code from ehci-hcd.

Ok, I'm going to be a pain here, but this isn't in a form I can apply it. I would have to edit this by hand and then run it through git, making it a pain to apply. Please be nice to overworked maintainers and make it easy to apply your patches, send them in a format that they don't have to edit _anything_.

Third times a charm?

greg k-h

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 20 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 10 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 1 line · Jan Beulich

Since there's no possible caller of dbgp_external_startup() and

<snip>

Please just send the incremental patch, in a format that I can apply it (hint, as an attachment like this I can't, as I would have to hand-edit the attachment, and I might get it wrong...)

Quoted 7 lines

Here you go:

fix build of EHCI debug port code when USB_CHIPIDEA but !USB_EHCI_HCD

Relax condition of building the reset interface stubs in drivers/usb/early/ehci-dbgp.c from USB_EHCI_HCD to just USB, to also cover the chipidea driver re-using code from ehci-hcd.

Quoted 7 lines

Ok, I'm going to be a pain here, but this isn't in a form I can apply it. I would have to edit this by hand and then run it through git, making it a pain to apply. Please be nice to overworked maintainers and make it easy to apply your patches, send them in a format that they don't have to edit _anything_.

Third times a charm?

Assuming (since you didn't mention what's wrong) all this is about is the fact that the mail contains other text besides the patch, I'll resend the patch alone. If that's not your issue, you'll have to tell me what it is I did wrong.

Jan

author maintainer
#8 lore raw
Quoted 26 lines · Jan Beulich
Quoted 26 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 10 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Greg KH
Quoted 1 line · Jan Beulich

Since there's no possible caller of dbgp_external_startup() and

<snip>

Please just send the incremental patch, in a format that I can apply it (hint, as an attachment like this I can't, as I would have to hand-edit the attachment, and I might get it wrong...)

Quoted 7 lines

Here you go:

fix build of EHCI debug port code when USB_CHIPIDEA but !USB_EHCI_HCD

Relax condition of building the reset interface stubs in drivers/usb/early/ehci-dbgp.c from USB_EHCI_HCD to just USB, to also cover the chipidea driver re-using code from ehci-hcd.

Ok, I'm going to be a pain here, but this isn't in a form I can apply it. I would have to edit this by hand and then run it through git, making it a pain to apply. Please be nice to overworked maintainers and make it easy to apply your patches, send them in a format that they don't have to edit _anything_.

Quoted 6 lines
Quoted 1 line

Third times a charm?

Assuming (since you didn't mention what's wrong) all this is about is the fact that the mail contains other text besides the patch, I'll resend the patch alone. If that's not your issue, you'll have to tell me what it is I did wrong.

Yes, that is incorrect, along with the Subject: line.

thanks,

greg k-h