From patchwork Sat May 18 11:46:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weitao Hou X-Patchwork-Id: 10948945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B39AB6C5 for ; Sat, 18 May 2019 11:48:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9402C284F0 for ; Sat, 18 May 2019 11:48:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86E742852C; Sat, 18 May 2019 11:48:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DA1B284F0 for ; Sat, 18 May 2019 11:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729820AbfERLrR (ORCPT ); Sat, 18 May 2019 07:47:17 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34741 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729814AbfERLrR (ORCPT ); Sat, 18 May 2019 07:47:17 -0400 Received: by mail-pf1-f194.google.com with SMTP id n19so4981399pfa.1; Sat, 18 May 2019 04:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=kFie4+k11yDDftzG0S10xpWYpY/RkmQCteUTvMNHkI4=; b=NwqmbD4UphqZRGD7W1ah35LGjZf9x50ZHnK/Cxq88FQbJLPvvuPYa4QyF273Ac3gMm 5Qt2FDOpvwEzLzVSIZbc6utGV4k+Xq7DaT7FCVu3Qygd5BR5eJtrPNi4CkpXvh0bKMIW oTZzTnDyNkP8HEMMx6cdOefRrQw29EQRKKgZsvm8U/FllySRvSkerE0+mrXQ4zpEsXne 2n3krtGE0qaCTlzPf6isc5tcEKbj7aYbUOu+yuhCnf9eD9pgbuT2JsB0hQWPXfbYD683 Udmaf1nX8fISGTMu0YWu0fJJpSaARZyTQNVF6Qn5/ew+jgNyiZ1oftkVZjRPoPKSIuSX XqlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kFie4+k11yDDftzG0S10xpWYpY/RkmQCteUTvMNHkI4=; b=PCtw/57GrIxXZXrWTQRzgAoLaL8QxEpeF159YHRBQhp2Ici4+lmDz7i1rE0/OonnlK 4YDTzotAERCsR+YwjhXU3UCX/ZA2HIGQlpmXt4sknVd9oo8y2GO171DYT3Dq88e76zDF KU+UJ/q3tu/gjdHs4sjwow5qnerCdbklkEGlYcLtcVLNsrrOHFs8wwi/wfLfZQrfQIc/ 1fkE+D66kWgDUpHVS/xLMmkZyonZECZnrg8ZF+P6uxmaspEDuOsXwMPK26TCmoCwha7z fsSait+8jN7Bp9UVuMofjVg32qOb9fNhsvax7Y3wU56TTzAUnKWPyFxfLNPeGZgbZUCa 8iVA== X-Gm-Message-State: APjAAAU/M6FHAfcnmEP7cQ2D2tNbb2onvdYsWwUBT+7mCH3SYgT0UhNu XjDSVrcjfOsk6hIv9ighSGI= X-Google-Smtp-Source: APXvYqzWqHPnlARkOMniFQKPfXN1jP4MvGD63NJdIO+pf+/V1Px6FvtbupWpIJ8NmJg3aSkt1yzo8A== X-Received: by 2002:aa7:8096:: with SMTP id v22mr66680244pff.94.1558180036828; Sat, 18 May 2019 04:47:16 -0700 (PDT) Received: from localhost ([43.224.245.181]) by smtp.gmail.com with ESMTPSA id r77sm13869151pgr.93.2019.05.18.04.47.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 04:47:16 -0700 (PDT) From: Weitao Hou To: balbi@kernel.org, gregkh@linuxfoundation.org, Julia.Lawall@lip6.fr, houweitaoo@gmail.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: fix typos in code comments Date: Sat, 18 May 2019 19:46:23 +0800 Message-Id: <20190518114623.17578-1-houweitaoo@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP fix lengh to length Signed-off-by: Weitao Hou --- drivers/usb/gadget/udc/snps_udc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c index 3fcded31405a..2e84900d0b40 100644 --- a/drivers/usb/gadget/udc/snps_udc_core.c +++ b/drivers/usb/gadget/udc/snps_udc_core.c @@ -2734,7 +2734,7 @@ static irqreturn_t udc_control_in_isr(struct udc *dev) /* write fifo */ udc_txfifo_write(ep, &req->req); - /* lengh bytes transferred */ + /* length bytes transferred */ len = req->req.length - req->req.actual; if (len > ep->ep.maxpacket) len = ep->ep.maxpacket;