[PATCH] USB: gadget: udc: fix spelling mistake "unexpect" -> "unexpected"

Colin King colin.king at canonical.com
Fri Nov 24 21:10:44 AEDT 2017


From: Colin Ian King <colin.king at canonical.com>

Trival fix to spelling mistake in ERR message

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 drivers/usb/gadget/udc/fsl_udc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index d606d4f13098..e5b4ee96c4bf 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -1543,7 +1543,7 @@ static void ep0_req_complete(struct fsl_udc *udc, struct fsl_ep *ep0,
 		udc->ep0_state = WAIT_FOR_SETUP;
 		break;
 	case WAIT_FOR_SETUP:
-		ERR("Unexpect ep0 packets\n");
+		ERR("Unexpected ep0 packets\n");
 		break;
 	default:
 		ep0stall(udc);
-- 
2.14.1



More information about the Linuxppc-dev mailing list