From patchwork Thu Sep 8 03:29:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chen zhang X-Patchwork-Id: 12969603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E34B6C38145 for ; Thu, 8 Sep 2022 03:30:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229514AbiIHDaC (ORCPT ); Wed, 7 Sep 2022 23:30:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiIHDaB (ORCPT ); Wed, 7 Sep 2022 23:30:01 -0400 Received: from mailgw.kylinos.cn (unknown [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B1F428700 for ; Wed, 7 Sep 2022 20:29:54 -0700 (PDT) X-UUID: cdc63e9c1300404ea817e2f4f2de2f12-20220908 X-CPASD-INFO: 7062c9a103524594bb1d6f435f60394c@gIBwUpBrj2FcU3d-g3iEboKTYZRmklS Cd6BWYGFpYIOVhH5xTV5uYFV9fWtVYV9dYVR6eGxQYmBgZFJ4i3-XblBgXoZgUZB3hnJwUpNnkQ== X-CLOUD-ID: 7062c9a103524594bb1d6f435f60394c X-CPASD-SUMMARY: SIP:-1,APTIP:-2.0,KEY:0.0,FROMBLOCK:1,OB:0.0,URL:-5,TVAL:185. 0,ESV:0.0,ECOM:-5.0,ML:0.0,FD:0.0,CUTS:214.0,IP:-2.0,MAL:-5.0,PHF:-5.0,PHC:-5 .0,SPF:4.0,EDMS:-5,IPLABEL:4480.0,FROMTO:0,AD:0,FFOB:0.0,CFOB:0.0,SPC:0,SIG:- 5,AUF:9,DUF:4331,ACD:73,DCD:73,SL:0,EISP:0,AG:0,CFC:0.496,CFSR:0.033,UAT:0,RA F:0,IMG:-5.0,DFA:0,DTA:0,IBL:-2.0,ADI:-5,SBL:0,REDM:0,REIP:0,ESB:0,ATTNUM:0,E AF:0,CID:-5.0,VERSION:2.3.17 X-CPASD-ID: cdc63e9c1300404ea817e2f4f2de2f12-20220908 X-CPASD-BLOCK: 1000 X-CPASD-STAGE: 1 X-UUID: cdc63e9c1300404ea817e2f4f2de2f12-20220908 X-User: chenzhang@kylinos.cn Received: from localhost.localdomain [(112.64.161.44)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 211589332; Thu, 08 Sep 2022 11:30:18 +0800 From: chen zhang To: balbi@kernel.org, gregkh@linuxfoundation.org Cc: chenzhang_0901@163.com, linux-usb@vger.kernel.org Subject: [PATCH v2] usb: gadget: Fix spelling typo in comments Date: Thu, 8 Sep 2022 11:29:49 +0800 Message-Id: <20220908032949.17688-1-chenzhang@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fix spelling typo in comments. Reported-by: k2ci Signed-off-by: chen zhang --- change for v2: add k2ci tool explain: K2ci (Kylin Continuous Integration) is a code pre-verification tool independently developed by KylinSoft, which is used for ensuring the code quality of code submission. K2ci includes the comment check tool notes_check. This spelling typo was found using notes_check tool, which reported the following warning when check the v5.19 kernel release: python3 notes_check.py /drivers/usb/gadget/function/f_uac1_legacy.c selecotor python3 notes_check.py /drivers/usb/gadget/udc/bdc/bdc_ core.c dyanmic --- drivers/usb/gadget/function/f_uac1_legacy.c | 2 +- drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/function/f_uac1_legacy.c b/drivers/usb/gadget/function/f_uac1_legacy.c index e2d7f69128a0..e23aed620c4d 100644 --- a/drivers/usb/gadget/function/f_uac1_legacy.c +++ b/drivers/usb/gadget/function/f_uac1_legacy.c @@ -780,7 +780,7 @@ static int generic_get_cmd(struct usb_audio_control *con, u8 cmd) return con->data[cmd]; } -/* Todo: add more control selecotor dynamically */ +/* Todo: add more control selector dynamically */ static int control_selector_init(struct f_audio *audio) { INIT_LIST_HEAD(&audio->cs); diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index 9849e0c86e23..f9bf3b192cc8 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_core.c +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c @@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc) return ret; } -/* Allocate all the dyanmic memory */ +/* Allocate all the dynamic memory */ static int bdc_mem_alloc(struct bdc *bdc) { u32 page_size;