make xmldocs failed with error after 4.17 merge period

2018-04-05 Thread Masanari Iida
After merge following patch during 4.17 merger period,
make xmldocs start to fail with error.

 [bdecb33af34f79cbfbb656661210f77c8b8b5b5f]
usb: typec: API for controlling USB Type-C Multiplexers

Error messages.
reST markup error:
/home/iida/Repo/linux-2.6/Documentation/driver-api/usb/typec.rst:215:
(SEVERE/4) Unexpected section title or transition.


Documentation/Makefile:93: recipe for target 'xmldocs' failed
make[1]: *** [xmldocs] Error 1
Makefile:1527: recipe for target 'xmldocs' failed
make: *** [xmldocs] Error 2

$

An ascii graphic in typec.rst cause the error.

Masanari Iida
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] staging: usbip: Fix format string mismatch in usbip_vhci_attach_device2

2014-02-27 Thread Masanari Iida
Argument type of sockfd is set as int, but format string
is set as unsigned int. Fix the mismatch.

Signed-off-by: Masanari Iida 
---
 drivers/staging/usbip/userspace/libsrc/vhci_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/usbip/userspace/libsrc/vhci_driver.c 
b/drivers/staging/usbip/userspace/libsrc/vhci_driver.c
index f4bfefe..d80d37c 100644
--- a/drivers/staging/usbip/userspace/libsrc/vhci_driver.c
+++ b/drivers/staging/usbip/userspace/libsrc/vhci_driver.c
@@ -545,7 +545,7 @@ int usbip_vhci_attach_device2(uint8_t port, int sockfd, 
uint32_t devid,
return -1;
}
 
-   snprintf(buff, sizeof(buff), "%u %u %u %u",
+   snprintf(buff, sizeof(buff), "%u %d %u %u",
port, sockfd, devid, speed);
dbg("writing: %s", buff);
 
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] staging: dwc2: Fix typo in staging/dwc2

2013-09-13 Thread Masanari Iida
Correct spelling typo in comments

Singend-off-by: Masanari Iida 

---
 drivers/staging/dwc2/core.c  | 2 +-
 drivers/staging/dwc2/hcd_queue.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c
index 06dae67..8dbd174 100644
--- a/drivers/staging/dwc2/core.c
+++ b/drivers/staging/dwc2/core.c
@@ -564,7 +564,7 @@ void dwc2_core_host_init(struct dwc2_hsotg *hsotg)
 
/*
 * This bit allows dynamic reloading of the HFIR register during
-* runtime. This bit needs to be programmed during inital configuration
+* runtime. This bit needs to be programmed during initial configuration
 * and its value must not be changed during runtime.
 */
if (hsotg->core_params->reload_ctl > 0) {
diff --git a/drivers/staging/dwc2/hcd_queue.c b/drivers/staging/dwc2/hcd_queue.c
index b1980ef..c09b2db 100644
--- a/drivers/staging/dwc2/hcd_queue.c
+++ b/drivers/staging/dwc2/hcd_queue.c
@@ -251,12 +251,12 @@ void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct 
dwc2_qh *qh)
  *
  * @hsotg: The HCD state structure for the DWC OTG controller
  *
- * Return: 0 if successful, negative error code otherise
+ * Return: 0 if successful, negative error code otherwise
  */
 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg)
 {
/*
-* Currently assuming that there is a dedicated host channnel for
+* Currently assuming that there is a dedicated host channel for
 * each periodic transaction plus at least one host channel for
 * non-periodic transactions
 */
-- 
1.8.4.273.ga194ead

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH/Ver2] [trivial] usb: Fix typo in drivers/usb

2012-10-31 Thread Masanari Iida
Correct spelling typo in debug messages within drivers/usb.

Signed-off-by: Masanari Iida 
Acked-by: Felipe Balbi 
---
 drivers/usb/gadget/fsl_udc_core.c   | 2 +-
 drivers/usb/gadget/tcm_usb_gadget.c | 2 +-
 drivers/usb/musb/musb_dsps.c| 2 +-
 drivers/usb/renesas_usbhs/fifo.c| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/gadget/fsl_udc_core.c 
b/drivers/usb/gadget/fsl_udc_core.c
index 6ae70cb..c19f7f1 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -2126,7 +2126,7 @@ static int fsl_proc_read(char *page, char **start, off_t 
off, int count,
 
tmp_reg = fsl_readl(&dr_regs->usbintr);
t = scnprintf(next, size,
-   "USB Intrrupt Enable Reg:\n"
+   "USB Interrupt Enable Reg:\n"
"Sleep Enable: %d SOF Received Enable: %d "
"Reset Enable: %d\n"
"System Error Enable: %d "
diff --git a/drivers/usb/gadget/tcm_usb_gadget.c 
b/drivers/usb/gadget/tcm_usb_gadget.c
index 97e68b3..3849218 100644
--- a/drivers/usb/gadget/tcm_usb_gadget.c
+++ b/drivers/usb/gadget/tcm_usb_gadget.c
@@ -1384,7 +1384,7 @@ static struct se_node_acl *usbg_alloc_fabric_acl(struct 
se_portal_group *se_tpg)
 
nacl = kzalloc(sizeof(struct usbg_nacl), GFP_KERNEL);
if (!nacl) {
-   printk(KERN_ERR "Unable to alocate struct usbg_nacl\n");
+   printk(KERN_ERR "Unable to allocate struct usbg_nacl\n");
return NULL;
}
 
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index ff5f112..65470eb 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -296,7 +296,7 @@ static irqreturn_t dsps_interrupt(int irq, void *hci)
 * Also, DRVVBUS pulses for SRP (but not at 5V) ...
 */
if (usbintr & MUSB_INTR_BABBLE)
-   pr_info("CAUTION: musb: Babble Interrupt Occured\n");
+   pr_info("CAUTION: musb: Babble Interrupt Occurred\n");
 
if (usbintr & ((1 << wrp->drvvbus) << wrp->usb_shift)) {
int drvvbus = dsps_readl(reg_base, wrp->status);
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index c021b20..0d6f9f3 100644
--- a/drivers/usb/renesas_usbhs/fifo.c
+++ b/drivers/usb/renesas_usbhs/fifo.c
@@ -163,7 +163,7 @@ static int usbhsf_pkt_handler(struct usbhs_pipe *pipe, int 
type)
func = pkt->handler->dma_done;
break;
default:
-   dev_err(dev, "unknown pkt hander\n");
+   dev_err(dev, "unknown pkt handler\n");
goto __usbhs_pkt_handler_end;
}
 
-- 
1.8.0.rc3.16.g8ead1bf

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] [trivial] usb: Fix typo in drivers/usb

2012-10-26 Thread Masanari Iida
Correct spelling typo in debug message within drivers/usb.

Signed-off-by: Masanari Iida 
---
 drivers/usb/gadget/fsl_udc_core.c   | 2 +-
 drivers/usb/gadget/tcm_usb_gadget.c | 2 +-
 drivers/usb/host/Kconfig| 4 ++--
 drivers/usb/musb/musb_dsps.c| 2 +-
 drivers/usb/renesas_usbhs/fifo.c| 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/usb/gadget/fsl_udc_core.c 
b/drivers/usb/gadget/fsl_udc_core.c
index 3def828..37a4e01 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -2126,7 +2126,7 @@ static int fsl_proc_read(char *page, char **start, off_t 
off, int count,
 
tmp_reg = fsl_readl(&dr_regs->usbintr);
t = scnprintf(next, size,
-   "USB Intrrupt Enable Reg:\n"
+   "USB Interrupt Enable Reg:\n"
"Sleep Enable: %d SOF Received Enable: %d "
"Reset Enable: %d\n"
"System Error Enable: %d "
diff --git a/drivers/usb/gadget/tcm_usb_gadget.c 
b/drivers/usb/gadget/tcm_usb_gadget.c
index 5444866..73eac8f 100644
--- a/drivers/usb/gadget/tcm_usb_gadget.c
+++ b/drivers/usb/gadget/tcm_usb_gadget.c
@@ -1387,7 +1387,7 @@ static struct se_node_acl *usbg_alloc_fabric_acl(struct 
se_portal_group *se_tpg)
 
nacl = kzalloc(sizeof(struct usbg_nacl), GFP_KERNEL);
if (!nacl) {
-   printk(KERN_ERR "Unable to alocate struct usbg_nacl\n");
+   printk(KERN_ERR "Unable to allocate struct usbg_nacl\n");
return NULL;
}
 
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 075d2ec..7cac2e8 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -418,7 +418,7 @@ config USB_OHCI_HCD_PLATFORM
default n
---help---
  Adds an OHCI host driver for a generic platform device, which
- provieds a memory space and an irq.
+ provides a memory space and an irq.
 
  If unsure, say N.
 
@@ -428,7 +428,7 @@ config USB_EHCI_HCD_PLATFORM
default n
---help---
  Adds an EHCI host driver for a generic platform device, which
- provieds a memory space and an irq.
+ provides a memory space and an irq.
 
  If unsure, say N.
 
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 494772f..59ad13d 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -294,7 +294,7 @@ static irqreturn_t dsps_interrupt(int irq, void *hci)
 * Also, DRVVBUS pulses for SRP (but not at 5V) ...
 */
if ((usbintr & MUSB_INTR_BABBLE) && is_host_enabled(musb))
-   pr_info("CAUTION: musb: Babble Interrupt Occured\n");
+   pr_info("CAUTION: musb: Babble Interrupt Occurred\n");
 
if (usbintr & ((1 << wrp->drvvbus) << wrp->usb_shift)) {
int drvvbus = dsps_readl(reg_base, wrp->status);
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index ecd1730..2a5b78d 100644
--- a/drivers/usb/renesas_usbhs/fifo.c
+++ b/drivers/usb/renesas_usbhs/fifo.c
@@ -163,7 +163,7 @@ static int usbhsf_pkt_handler(struct usbhs_pipe *pipe, int 
type)
func = pkt->handler->dma_done;
break;
default:
-   dev_err(dev, "unknown pkt hander\n");
+   dev_err(dev, "unknown pkt handler\n");
goto __usbhs_pkt_handler_end;
}
 
-- 
1.8.0.rc3.16.g8ead1bf

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] usb: class: Modify printk to pr_info in cdc-acm.c

2012-07-27 Thread Masanari Iida
Modify printk to pr_info in drivers/usb/class/cdc-acm.c
Confirm the compile succesfully.

Signed-off-by: Masanari Iida 
---
 drivers/usb/class/cdc-acm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index f2a120e..2330cc7 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1724,7 +1724,7 @@ static int __init acm_init(void)
return retval;
}
 
-   printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
+   pr_info(KBUILD_MODNAME ": " DRIVER_DESC "\n");
 
return 0;
 }
-- 
1.7.12.rc0.22.gcdd159b

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html