From patchwork Wed May 26 13:00:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448181 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198485jac; Wed, 26 May 2021 06:00:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb/RFGVG8kXM6JtBRk8fL6g7YGNxjS9VrGqZ5BftN8hwNodkOfyqbB5oPmtO8HsMTTzHq2 X-Received: by 2002:a17:906:8a53:: with SMTP id gx19mr33059200ejc.372.1622034058311; Wed, 26 May 2021 06:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034058; cv=none; d=google.com; s=arc-20160816; b=I1Nc6VDx6Rkyy8gRTlc+LZiGTcWcmnLIJYJKOOw4hnfjLXnkl6q2mlx/cILK2xXIx0 6JbSdgBK0M+8DWgaXV46+KE6Eijvsr71OQO+r65QZcFkcd3SlKCCo1sMVoGKy7ewZzxV CDbTPDT7hWpclxjYgPdRtLl6IPQ2eehbGfYcEqFwBGQsOvWrSAVyEymdoplkoknIBmOc 9scMXtyVojvJaK3qidnfqoBjXXGkBxWqb9RgC7qXOQIKt3f9S8Wilp6XCbDnbg/K7CO5 KiCrDwXyLGGO8fVl2dS5aCbJCjCABpEKnAEpIbotz21WPU+6DWF+ZFrXcNk7F4b1IDjR RR4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=yja+O0acEd9Vlp9hxZ60ZMaqi8Zb9gdxSxNYbV9A+IRiCwataiRSBNaceUGbptDbgl uX7rLXMOMkWCI15pSCZl+StSUKQp9JXISFc+aL7oWGZUgSVuT4j43UkB3tWqpELKWnC1 sAi86ZTxbS7tc1cgh7UNyy1xIhYXHgJguuOmpJf6xeqqGdqYCSoFNOJb/5W2M6GQGeB2 rcawOlB4JmKkAoyMFgVIyOrYGbcDkHnmsRvB6sK6ZVicz9pNfIzdS0iNHH+Et1X5ZMs4 g/AhdZ6fK2Nu0qXkXfoquNDzzb4T4N/VUOfMOeU3wv9E4f6AnUsGpLwqGjEjlAdgNIVu 9PbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kl7yRD7q; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne35si2486024ejc.666.2021.05.26.06.00.58; Wed, 26 May 2021 06:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kl7yRD7q; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbhEZNCV (ORCPT + 4 others); Wed, 26 May 2021 09:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233945AbhEZNCU (ORCPT ); Wed, 26 May 2021 09:02:20 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D730C061574 for ; Wed, 26 May 2021 06:00:48 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id r12so1063782wrp.1 for ; Wed, 26 May 2021 06:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=kl7yRD7q2idFGBdau1DMeBezfOEIHpuwjbQEY8GKGot9XFdDoFo+U40D/+mMYsZeJS +W/V2dBsLSAdkJeZCzHwx2z3PaXdCVB+0osyMldD94IJVG8oxn6vUGdPYH05FuakaGHy Du3HGAkhISQmmrVREW45mhlvHLy09ADQOsTfWwsbiKyq33jNsNQmmhOE+XCEc1jSMGSz lgpvHyc1yc1k02Fp2zLGCcq0gL4Sr+xn0sxjVt7BhApp/LGjph/S8LfAwl4ulpGoVxMP wwCQt6YyIh4YYtIakigw91e9a9rtbdxQD548mLXJwl1LYoy5wrHJD20q1Xl2a07tLHIi CnbA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=ItHxJJlNENAJP7zt+4qNKW1BZ5V04on/W9BmM8/wWjizQsD60uMLV/KkAFicfj7J0S e6g073b0A2fQzOqQ/YchdrgWpYe82r+IdudaxHbQEBqHWx6xh9Iw0RN1siOt/vD+9QOz E/K1rQ09WUJnn061ZEo+72iZ7NSM8YFRTFKJB0g6toRwH50HhB50Rwb3lCSQry+KzoqB 0MM6JDUumUuhNLRc1vzivoyDOsJ1yLLR5RRNZBQvBcDXPDtD3QBOOaOSD2zMmdskL/Ck +u+1AsFQGAUPJo2Wsg/4w+qvCmE9shzLpSP6L5xNKvmONCFIime0+iSuwLF7Hw9jcQzw 6R+w== X-Gm-Message-State: AOAM530OOiRRsMO0+c1amRIErWR4+qH0L7sFp6NgJH8Xt6e0M8/Kq9KH PQRkV6IYb/0z07vihhjrUOhZDawGjESHFg== X-Received: by 2002:a5d:4b89:: with SMTP id b9mr32545288wrt.238.1622034047197; Wed, 26 May 2021 06:00:47 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 01/24] usb: cdns3: core: Fix a couple of incorrectly documented function names Date: Wed, 26 May 2021 14:00:14 +0100 Message-Id: <20210526130037.856068-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/core.c:342: warning: expecting prototype for cdsn3_role_get(). Prototype was for cdns_role_get() instead drivers/usb/cdns3/core.c:428: warning: expecting prototype for cdns_probe(). Prototype was for cdns_init() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index bb739d88179ff..dbcdf3b24b477 100644 --- a/drivers/usb/cdns3/core.c +++ b/drivers/usb/cdns3/core.c @@ -332,7 +332,7 @@ int cdns_hw_role_switch(struct cdns *cdns) } /** - * cdsn3_role_get - get current role of controller. + * cdns_role_get - get current role of controller. * * @sw: pointer to USB role switch structure * @@ -419,7 +419,7 @@ static irqreturn_t cdns_wakeup_irq(int irq, void *data) } /** - * cdns_probe - probe for cdns3/cdnsp core device + * cdns_init - probe for cdns3/cdnsp core device * @cdns: Pointer to cdns structure. * * Returns 0 on success otherwise negative errno From patchwork Wed May 26 13:00:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448180 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198493jac; Wed, 26 May 2021 06:00:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrMjpKFtmqx7acGBKrkFy2gAiIMqhwgWo96WgocvblyfMz8ZUYrBCNQHKxAA+2c0kmt3e3 X-Received: by 2002:a05:6402:1543:: with SMTP id p3mr37262776edx.120.1622034058716; Wed, 26 May 2021 06:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034058; cv=none; d=google.com; s=arc-20160816; b=B7NCqWDbEHUE7sDSSFAgxbSndHBSJgp0SYYAYpB5l9GxnEd8I2tITixh5UuhzDBSFm WPrY/Cdo4ZXHOfcuQ5a++NNZ6rZGo83bd4024UpeQamHXEPmnadbopmc+qobIRBqO7Xx 9yMHd8K5lSlqExaXhKkUCPXFXwpBs/grOsYz2IiE1pTfm89xnWEAfKwn66PThCAJg8dF sJs5gsnUgEvzJrpozLFKqjpwd9fCKxmd+84EwUst8EiCCaPV95aAIPSc+LsL66LzwdGH VQVxZY9gu+gPr0yW/QT6Tk/ZPP+BdGG5wcpS8Q6Lmv+nByyMM5Ln4OP7CyFs4ei+McCp ZeFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TkkM0jDN7On5m0is/63l4FwWkD1XQ6PSlPPlgMZBOWY=; b=zm2UQHN7ikeIyvx4QS0X2HJjB5tzuKvIFVIMpkGeZk8MJLowukWLayy+XIL/2RbnNi LXuWgJ1Ukqz68B7NKHLhG26AMFFG+Z0JRvAb/OCcZ8S1P9/TOFGdn+72A2eYJqCkakDN 9a/lhu/GOJO6vcW0PvQLnidx8M24dENHxFtGJZvgALpjiIFzz8ZgkE0+lyxeCfkdolAw xc1smUt75nb63X5noZltGhTc8BbkPDkmZvhFf2LT1VwCVi+QOAGWhhRKAxeZkSRRFmus zUSGHzeRFzY4CJPqkMjFnHKWK5m8uKDPCjTgbrKRX/iGIxEvVCYWyFBxN/2IiFxVvp6+ 6UDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XZwmb2jY; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne35si2486024ejc.666.2021.05.26.06.00.58; Wed, 26 May 2021 06:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XZwmb2jY; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234581AbhEZNCX (ORCPT + 4 others); Wed, 26 May 2021 09:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234307AbhEZNCW (ORCPT ); Wed, 26 May 2021 09:02:22 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9177FC06175F for ; Wed, 26 May 2021 06:00:49 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id d11so1028217wrw.8 for ; Wed, 26 May 2021 06:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TkkM0jDN7On5m0is/63l4FwWkD1XQ6PSlPPlgMZBOWY=; b=XZwmb2jY0GrP8+o7CoC5/5jswstErQrpabfm/cYlUioK4aypXH3/AW4kiZ/88qfHdm 50iSumAgfSHJ1+99krf3QkOWgtOQq4lJWRPohL/yFP4ZG8i8o7o5SIQlWjZPdjSJgSnf tts7d/dnJLcww1R94QDa6MLP4VBHE8hQvWe9LI50rnmuFP3rPRvGtZVeU+2e3Xxojo+t 8WcwN3qF8l6rrl4bgV24uZPDNTf/9MBPnuZEO/tWPG8AzkFK3Tl8c2UMX8tQotnX1KKr wUpG/4RvMnIaZ6xMuI9RbO1+7F2QpBZ54ARFEUQVasl1Dx6jQ5wPxC+BCCcZyu3eRHgT ZuKw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TkkM0jDN7On5m0is/63l4FwWkD1XQ6PSlPPlgMZBOWY=; b=kCyJh6bk9+ZIoH10Nu3Q9IVm9hwJ4KfkZYF6fusOUtYw6x5OD7xKAQqs5rHqqKnMVs RUnzKgMhQd8rQZl6en40WkJKTa3J55CZnkZVKlg6XVfMjv6oFV+evp1yROHDhyDg9LGI 6q/2g2NRpfrv2zgsM0X1PsT/iuT1cRsakTDfnspTk/xanEfZc7KY7kPvp3gu7RlBxjbz BjgYiom0FcvEbXBXSp2D52ajHKQ0U/BOYetAb/j9ffClOVZ9z2yQBQHf4ssJtzFne18b gDRRaDvyMEn9MQ2EBcsJ5Rcs0Ig4fHTvzj55SM5zcYmPJFyBkVCdw7eAOMkqOmOaqfLh 40hw== X-Gm-Message-State: AOAM533TJKGx2ScTg6aCcwOSLbg3DsiDy/iIcFwIHkQ0x9UdjpShnDEW b5E6s+s2Zneu0CHrXa8k867jWA== X-Received: by 2002:adf:e411:: with SMTP id g17mr32216745wrm.402.1622034048238; Wed, 26 May 2021 06:00:48 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:47 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Minas Harutyunyan , Greg Kroah-Hartman , Philipp Zabel , Liam Girdwood , Mark Brown , Matthijs Kooijman , linux-usb@vger.kernel.org Subject: [PATCH 02/24] usb: dwc2: platform: Provide function name for 'dwc2_check_core_version()' Date: Wed, 26 May 2021 14:00:15 +0100 Message-Id: <20210526130037.856068-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/platform.c:411: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: Philipp Zabel Cc: Liam Girdwood Cc: Mark Brown Cc: Matthijs Kooijman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/dwc2/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Minas Harutyunyan diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 520a0beef77ca..c8f18f3ba9e35 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -408,7 +408,7 @@ static bool dwc2_check_core_endianness(struct dwc2_hsotg *hsotg) } /** - * Check core version + * dwc2_check_core_version() - Check core version * * @hsotg: Programming view of the DWC_otg controller * From patchwork Wed May 26 13:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448182 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198553jac; Wed, 26 May 2021 06:01:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvmVVAblLYWO2em2C2OzMhM60z5OyYlaYRLy4n4SbRyBD0vi9Z41iWnCqObEbadxioMtRT X-Received: by 2002:a17:906:3419:: with SMTP id c25mr32791550ejb.96.1622034063659; Wed, 26 May 2021 06:01:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034063; cv=none; d=google.com; s=arc-20160816; b=t9ef9IDPr1NwjDc5tEiz/hw6DRl0R7p39+z4pkAfFR8kmpdym9secpbqMD4po1J4no gxh+gZ7oVGqhJvLbI2+JGnnN5Mzi3wbMbAc1djh2R8Z7cl/GWuHCCWOOvCVjdqLW65KA /JRMMk7P6Mm3KIq0YE8BZKYJ/Kpr71egpsQ7AOkxNOaWakUh8Q8FrtuvnBhPjgh2gRgk wrMS7sBOtHJwYV/HpYZIW9jwWgKPrqRuXmjF1eb3yzeAU2kys+AZmMA+bMV1UY0Jqe0H Swt92Ou+bFUokWHKiuucyWfQRUKNil7w5lcI9y9CZvrL/jFYwVgpu+wP23rnPkqTq8n+ zUsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wClzZvICbZY1gDqbs5K+gmqfI5n/KTxqQt4Q33U0XvY=; b=TqiZUYWh4zQX2iMmKO1jSNRx92Uq9zqHmFDk8joOwdE07KpE2fdxwQJGP40PzXduOV tYPXKjwXrohBaWfaf/AUeCjzKj2Iu8NncIHKiO1ZMdXQwhYH3H8pt30Gq5W15DHzz94D 6npo1tvR/LC/4OfBvuihdCk3sZPXttk1Ju1SmnYgTuujsBu6D6+bYbHBINzTB12phUBC JQb7P7BUEU0ivj4D8oXTJu4N8MlTiRloYNQvF0hYHKUsI8ANieDAO3OZMyg3Hi410iIh BmSckPj5cSh55fJYnRmelwt6vheZDVfm2zi0ap1TTDOJ1M7vl75HBNGLM/5a3Z6UJ0I6 is4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VpxrOtJd; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx12si674576ejb.103.2021.05.26.06.01.03; Wed, 26 May 2021 06:01:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VpxrOtJd; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234756AbhEZNCa (ORCPT + 4 others); Wed, 26 May 2021 09:02:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234539AbhEZNCX (ORCPT ); Wed, 26 May 2021 09:02:23 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA722C061756 for ; Wed, 26 May 2021 06:00:50 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id v12so1049773wrq.6 for ; Wed, 26 May 2021 06:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wClzZvICbZY1gDqbs5K+gmqfI5n/KTxqQt4Q33U0XvY=; b=VpxrOtJd113lP+VjeEIN7iNWNT3vxTAUF/jCgeAQmbLtvfWY4e+ytfafM1dhU/m4DT UUSP1iUSbi3bMSzTAoliO7w/28GG32EaQ1/GzU8XPedUzVFsLnO2c8n2WKb8L64VIEA7 uT2zbHKlwICxHjmng6VP3DR2bD1esx2/dTBOuZTZuR0dKbrXspv8IO/7hDq7FDieTRrs hJqhs7qXUDi0ZTeQOkJqEje+VxTUNisS4FOilETg5sVs3QJBPOG2MCzhgXQzhHcw2kUt AazbdNLuCeDfe2UhzBs+pn4z51NFipJnhA9p3WP4UMy+pXKS2vJ7hKeVtQvoyt7LWkKD ibRw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wClzZvICbZY1gDqbs5K+gmqfI5n/KTxqQt4Q33U0XvY=; b=ZsY1EsvMVlPT9jkLS1/uucF/FIh8KX4r/snX7R8bnZUL4WYg02Y8NP3sBcy0NaZUYo FLpsvjJArFE+RzPthNylKSMFIqMdXvo6v1sJqcpCPNSIU1jvwm0gKHHI3Q6gwB6/7ph0 c01ao14GGPmxLRZTWhSHMXlUrzvSQ+iYdtcP0Ylo759d6tFIwQuM9jBZpYPWtbp/UDdX UyvNu5hY09L1tVgJdt+d02WQLx0xyzrSdStS5VuH8VxOn/1X7W43+RCrNI1oOot2ujyG MHRz17hIbtL1P5Al7sOuNZZlM2iNhWy3jI+E9EVvbvcB99KV/0HE1gZdjpyGxY7evl86 3Skw== X-Gm-Message-State: AOAM530l4OAFVTz7fohpHEfKhAIYt+vLegwkmB5GGrKvupYjNjn0F/w7 P0+DQNg+Mb202tBUdG4swPIJoxSQb8YLTw== X-Received: by 2002:adf:d4c7:: with SMTP id w7mr32509687wrk.35.1622034049311; Wed, 26 May 2021 06:00:49 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:48 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Heikki Krogerus , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 03/24] usb: common: ulpi: Add leading underscores for function name '__ulpi_register_driver()' Date: Wed, 26 May 2021 14:00:16 +0100 Message-Id: <20210526130037.856068-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/common/ulpi.c:151: warning: expecting prototype for ulpi_register_driver(). Prototype was for __ulpi_register_driver() instead Cc: Heikki Krogerus Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/common/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Heikki Krogerus diff --git a/drivers/usb/common/ulpi.c b/drivers/usb/common/ulpi.c index ce5e6f6711f79..7e13b74e60e5a 100644 --- a/drivers/usb/common/ulpi.c +++ b/drivers/usb/common/ulpi.c @@ -141,7 +141,7 @@ static const struct device_type ulpi_dev_type = { /* -------------------------------------------------------------------------- */ /** - * ulpi_register_driver - register a driver with the ULPI bus + * __ulpi_register_driver - register a driver with the ULPI bus * @drv: driver being registered * @module: ends up being THIS_MODULE * From patchwork Wed May 26 13:00:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448183 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198563jac; Wed, 26 May 2021 06:01:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza5I+Nzyw4J3JpgTyiaYGZsDeoXEuHdSe3Pne8E3r1zE3js5RL/PlfY+5dBrS8zPQwBLRl X-Received: by 2002:a17:906:744:: with SMTP id z4mr12971902ejb.347.1622034064065; Wed, 26 May 2021 06:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034064; cv=none; d=google.com; s=arc-20160816; b=0LRMTqZPXDZ19a3eLPoO0J5z9BbiabouQqnXDcg29j8dFo5S0TMaQSPmycp4jPVW8k 06Jx+SVZO8T2SqejsbfFGL0guovK8zNAVWfGBOd97dQN23oM7FtAWO8WrP9G5IbnUrNo pzJm6GllJj3+ZIo0a0e9P2UQU/E0v6/NIPw/ngPf5+YXPV2Yt9RL3T4bs3jtCHkL41in 3RtHVwYE67ltiakxprkFxPBl0l8pCGKmx+P5njyJI9HEB2uZlM1jEVlih2DWGX1eZl+x A6hAgoIcYXguvI5nPxA8IdzgOgSgTfNX0rUsxo7MWYYcgjE96V5vLW4/9XUcFM5k98tS sngQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UlJ4EWtdgAdd3He0OtdTyScO+jD11FSW8rVw74hIROo=; b=NABw2xYYE4A3HK8cl3smtsCNU1qMRVL30DK+QXnACDDaY7VNJaxRRg2r82Vh/Lrl/j JRP8CHcrLJ+RofOAaUjLkxk0wxCq4b/syOYj4j6pnmcPXDd4guXUsQdgTaJ36I3DBlzY 3sK6wgJfTs+hP9gVkxYpTOjX4PZtHfQ3L5fsnhXlylKjPCJ3nKEKOy0H5TrxQPaqiSzM L374hxdgIbPDx+WzhSj/FiSzM8fPXLglP8ATzvmmFmJd5GJLh3kB+yhEG8loe4YfeYWE w44VQcf+WpqAHOaLrFYwKzYdSa9cFzVCB189AFuDAa+8IWHgKCH/eu/iTQMhM978f/+d uJnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VRdZpkKv; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx12si674576ejb.103.2021.05.26.06.01.03; Wed, 26 May 2021 06:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VRdZpkKv; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234885AbhEZNCb (ORCPT + 4 others); Wed, 26 May 2021 09:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234760AbhEZNCY (ORCPT ); Wed, 26 May 2021 09:02:24 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3291C061761 for ; Wed, 26 May 2021 06:00:51 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id h3so665115wmq.3 for ; Wed, 26 May 2021 06:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UlJ4EWtdgAdd3He0OtdTyScO+jD11FSW8rVw74hIROo=; b=VRdZpkKv7nuWGAn1gX3EztMikybapEaiUmDgC/dfWr29q2vmUEJrxZ8loteIy97czM ga21Wa7uAxJlsBsAj1cLE5STt4H70IpZNRr1lg2bTg8mw5C+1qOzxPt1WH6pjYsEbKvu zw5zzqJD1Ec3bEPr0aGvp8JbmkwLldLxCowHoGFCQyYA040WKCtVcfsPLmiHtIvwKng+ DiYO5tKPacpYSB/wVU40Uo3s1iqN34XOMSjawMjA3XfYmxJGzaSFuHtyZobrGoAxHb6g rccAGBfsLWqVHViiB+nu1AesxqiQ6sLqbtltRtdjyus7qf6ZkfNcjG0UNuTn7lpOspDI kvjg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=UlJ4EWtdgAdd3He0OtdTyScO+jD11FSW8rVw74hIROo=; b=b3VDLMQFuDGQgZtuJl+g6V8/V3WmJ0ugCQOw4Ip7jX9wl1MVzjJB+Jy8LHVzffFayc 659aD/aX+Q4CUQdq36xYP3OA81+wKH30FeKE2boADexgtQhWHGdYkXgI+pdIDHx6LrPF l3khHdKSOMLZeCo6Xnp+vWsDIZ37WMJEAM1u6nzMICqukmAFn1yGEpRbciovj8PRwLG/ ZzcN5gJw8+q59wgaNi49yGtyiQpCTuva7X8P4Ulw8ngrH1Sa2Wp/lam7vDMdfE9Xjdsd KCa5hpAOnwYtu2Ikif9SKJlXS3ZaCtYSnT9P2gTuXLm84p7Y56EG1hyUheNxyXJRs3DK E8rQ== X-Gm-Message-State: AOAM5322QyZ/MmxNmzRjoaY7s2f4z0TxLoV3YJ5dhsgcoZi4Q++hX9ER mtzfrLLDNYuxbEDr0PPu3vzeBWL5k7OJFw== X-Received: by 2002:a1c:40d6:: with SMTP id n205mr1108257wma.77.1622034050301; Wed, 26 May 2021 06:00:50 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:49 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 04/24] usb: cdns3: cdns3-plat: Fix incorrect naming of function 'cdns3_plat_remove()' Date: Wed, 26 May 2021 14:00:17 +0100 Message-Id: <20210526130037.856068-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-plat.c:179: warning: expecting prototype for cdns3_remove(). Prototype was for cdns3_plat_remove() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c index e1deeada425cd..4d0f027e5bd3a 100644 --- a/drivers/usb/cdns3/cdns3-plat.c +++ b/drivers/usb/cdns3/cdns3-plat.c @@ -170,7 +170,7 @@ static int cdns3_plat_probe(struct platform_device *pdev) } /** - * cdns3_remove - unbind drd driver and clean up + * cdns3_plat_remove() - unbind drd driver and clean up * @pdev: Pointer to Linux platform device * * Returns 0 on success otherwise negative errno From patchwork Wed May 26 13:00:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448184 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198660jac; Wed, 26 May 2021 06:01:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3aYXEJ56x3/7iGbNauSivesOQA8PXEDxm3QJSEfwy2Ov2sug1Zdu+MgiL6ER52Y4Y/ZXD X-Received: by 2002:a50:fb0a:: with SMTP id d10mr37240987edq.47.1622034070356; Wed, 26 May 2021 06:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034070; cv=none; d=google.com; s=arc-20160816; b=ZxVMd6XNoONhqTfn0OV9te27bpPc4ke/atoKta93bVlh+sv8JqH2/x2pIJTpk1TJSw GCp7NzhRx0BfKmH7AzyMVRC/v7irctavYMBLKeuiYD5jPvnj/ffdovLb4k0/vMC/JPaH ehODPotsPPrCgFxfDLXqbIxRlwJ69Y3Bgkz9dh046O7+If0BBreMvG+6PMwSMS6i1yRI xpGJUIe1LgpaUxADyHXYsqaNSE3Sd5w2V0lhlkTwFxVncLyX2tjfbWXfv4VXOyl/cAmC NLHhwOpp8f+Iaq6s0xr1LhzuGeIO8ugPMwKc9XZpAyVQpDK5MgmWeTa7Qh/kLsXyI3Ob J4Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jB1Di/AfofpCu9RhowXJK+PZPPiB12GqSTdmHK1d9Gs=; b=UDpPQG5nlltXYlqEbWyV8huzSeMps7gMw5KrVbNFxBdTVOwWSQKmJ548D4l/pPhD7W uhi1FVdusjwcYbfOcAqBX2jDOjn09VOkqFQasgMSvhOfKcRG3ofVJI77mqCaN1xsXwLg 7Pkjpes+JuNvEACKtjYvYif9bujPqxAju+rHGpmtXg9rUCflSX/vLw9KUFVw81EgBoLh yEdlVmGLcUPRXnxUDHt6BJQS+Mfc1DZ/cfPiUEQUBwr18MSe3Fz4VCoZ+RAtL6Y6LHDu AUNnwZGbGllBay5vkPy3VNmuXCZyxRhM1aEIsSCUNepPQlAoqz5Z4y3yohLVIMNlXj56 lAEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XueaPXDz; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.10; Wed, 26 May 2021 06:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XueaPXDz; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234913AbhEZNCd (ORCPT + 4 others); Wed, 26 May 2021 09:02:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234814AbhEZNCZ (ORCPT ); Wed, 26 May 2021 09:02:25 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FE55C06175F for ; Wed, 26 May 2021 06:00:53 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id y184-20020a1ce1c10000b02901769b409001so459258wmg.3 for ; Wed, 26 May 2021 06:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jB1Di/AfofpCu9RhowXJK+PZPPiB12GqSTdmHK1d9Gs=; b=XueaPXDzGT/uaui/1XGPYO40JEvM+f5xhaJSj0qWULREhRiPfOsWIJTIqeJu/+79LE /JvmnSQQ4nkjsvzcvpVFKjk6e/x/pp4f2tv6PDdK/8Q3gDx7Y0z9S02MqrMSC7qR4Zuu bfjvNHfdYI5g7Fi4s9Dq5JP6gL+I/cQaSWp+kKqlf7vuGcLcJ7GraAcPSfuNxSxKjAP+ DJWPvvkZgdJyt8GmEZDBvQ8oNB8yR9NEv/e8MeC0ikxtnzEbVy4bd0mYWFTCxxJg9T4K aDDS8pvPrsJfP4ZEvrBRTqDge8IP95Cm2z2KLK3DUArmyFq5X+EcEr5DqmDn0Lj3hIPf YzpQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jB1Di/AfofpCu9RhowXJK+PZPPiB12GqSTdmHK1d9Gs=; b=FVRM8kRYVqry0gSFu0ZVkd11Xn+VAP2xklzdczWZu911S5brlH/8nz3In0xv9/jcfG 0I5f+DXIfLlEwurH1VL4mq65kGfB6GWCIsuCVZididRh78Hgql17FCbLDq+5Nj4VF3Wj B6V/xL2qd+R5AUbNJGz11WkbpW/RUvoT8FwSHCGhpu3Gc0IVkeJ04ARRJLdKdswRAs2A xq115Dxhrli9Uy2r0tqroNZTiUEWi3AZ5tcg80XWDuOlF0f+OOjNDCDTgWDSmd5eze92 pog9Y6ctNAZ9Wdt8jH4E8ldjDP/h3kZcR0usG7PVn/+/6G4vN+PMZuQ1JTbDKn+DMwq/ hlsw== X-Gm-Message-State: AOAM531PTelEu49EkXR38aJhWDdri1mD4rVcKUMMdD0/ITuYHuDsdWXD /jGt2et65E/gRnVp2arphGJ2Pgd+GDe32w== X-Received: by 2002:a05:600c:3542:: with SMTP id i2mr26506996wmq.124.1622034051442; Wed, 26 May 2021 06:00:51 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:50 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Minas Harutyunyan , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 05/24] usb: dwc2: params: Fix naming of 'dwc2_get_hwparams()' in the docs Date: Wed, 26 May 2021 14:00:18 +0100 Message-Id: <20210526130037.856068-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/params.c:787: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/dwc2/params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Acked-by: Minas Harutyunyan diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 7a6089fa81e1d..67c5eb1402325 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -784,8 +784,8 @@ static void dwc2_get_dev_hwparams(struct dwc2_hsotg *hsotg) } /** - * During device initialization, read various hardware configuration - * registers and interpret the contents. + * dwc2_get_hwparams() - During device initialization, read various hardware + * configuration registers and interpret the contents. * * @hsotg: Programming view of the DWC_otg controller * From patchwork Wed May 26 13:00:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448185 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198671jac; Wed, 26 May 2021 06:01:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTNm1tdpH9wQcC2nXw2llmWXZuXFXxZWL/s9BjudhbL/qo51yfnK4VKLq217z1hA4PBohT X-Received: by 2002:a05:600c:ce:: with SMTP id u14mr3260159wmm.132.1622034070791; Wed, 26 May 2021 06:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034070; cv=none; d=google.com; s=arc-20160816; b=sN/oFOZGA2EUjC8nBA+kS06b3esf2W+NuKzsWgWbuv1jXJG/aK+hGFlxQUy8q75JDl efFez3z52SVSmgL3J0rgTNGIr54bbLGXzG4c8B/DjbUwUrt1gBjNqDbNRFqRRLCSpgNF qvX6qCadLBhMHynTaQv+VszIxMO1kNYF+goH6bYg3Q6Rt0pY7g2tYV8vCOt5pTOQCXN3 y9ttjFv2SzYHwP560ohnbubgForqpqB9/t6+UaQ1EaN7QmWy1iDdroQWW0IIpvvlnZOS 6YuMt5NjraVc6SqSUxj0eMEbv9/HqCrtCMy9ciUUaft9+TJSaiGVJuqUTevQGf2m07pl 0pBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nWQ+dGkib5DQMg+R+hA7frJhGrDbcK33rjn0/4gfMZI=; b=YtvRAuRj0pDxTsrTz/SI/8m6sqp3CVffQzRmQ9GofcnXDxGZtliuAwR5Vq2QeilUyv psMOZON3M9D31DR5p8Cf5QMkNEp+meYcLcGqMI/ODFcChjCYd8D1rbRVkYjT/AjQszXQ CNinXHF5MhxuIVCyx9H1JIpSMZcLPsxmZFqjscW7E1fs9LyvY2eNP1ht/vxHvLP4UQvd RTtfrte8drT8HO5R6HPWWhlgHGQW9gey1sc+wxX5LDdZqjlAa8iHg6PtJzwwn3YDxspe fO8JnvTLRCE/89ty1tDjr3RDrBx1K58V1+B/Y6wJlQf/lrA2i5rFsjb+7VhD2Xl/Yqzr pbLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zk3CukMJ; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.10; Wed, 26 May 2021 06:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zk3CukMJ; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234930AbhEZNCf (ORCPT + 4 others); Wed, 26 May 2021 09:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234823AbhEZNC0 (ORCPT ); Wed, 26 May 2021 09:02:26 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BACC06138C for ; Wed, 26 May 2021 06:00:53 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id b191so676572wmd.1 for ; Wed, 26 May 2021 06:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nWQ+dGkib5DQMg+R+hA7frJhGrDbcK33rjn0/4gfMZI=; b=Zk3CukMJf/dJMXBbHW21xznSD8Wt3+CcmCDgEXWwSXPbziin9IQq1qnnJoJLF5445P 42g5b78lDteSF+PWLHKzvgkedj6w5zW2U+GUSZvEOUh9U6Uaxj4DejZfD7YLaIxhbLzd F613wQnC3fEeoP5b4a1yWGWlRSP/Gw2YnLg5TjftNs6lSCRuu7OqnNpDIX8w4jleUA+e Ff3T6xiQX8gjdyEdBqq56XLGQR8yn+w0wu3qjj21oSRY2rEAkRNfcA6khy/G1SmRsbdy VRV9vbQ5v1LTK9gCjstDvsQuaXHlFyIC1W0YrmLsC9KEN5DdIFYbvQ40FZEyF8nLZhF/ Gh0A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nWQ+dGkib5DQMg+R+hA7frJhGrDbcK33rjn0/4gfMZI=; b=uLKFIF8DbT6th2iyUgVVum6pF/mErL123Gy6yrsqEsThQAuKp5SchNml1eTR3cEiXs UxUsUr401HSpUnoAA55mnynO+qINHdFDLpn0xsQU+Zan3MRlsi9gb85aHkfBe0n2OFhw /p6ZFFJp9594p+F0cBHE+sul7pSRw4Tj2+rg7JEupGJj5yRsN8S2ArNY0wR+/u9yY/Fu qIE1BKfj2Fkm3+lgB2GOwykllv+1W538d1lLPqimlzFOklMs4fb5xkgbFSM8JbrBD0WB /WXdKT09o4a548S5e08NMvk4TotTUl/XUGUlRrwBJ2n5drqZ9iUlr+OPX61qi9wYhiKf u1lA== X-Gm-Message-State: AOAM531xYpsVwQhcmtEGJaZuGspGDXfUoKWlMCiVURg9Mmez0lsMPzE0 RfdN4IM+mO6wBOavZ8DQHYpWjiwo2ICSmw== X-Received: by 2002:a7b:c185:: with SMTP id y5mr28347837wmi.63.1622034052316; Wed, 26 May 2021 06:00:52 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:51 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Rui Miguel Silva , Laurent Pinchart , linux-usb@vger.kernel.org Subject: [PATCH 06/24] usb: isp1760: isp1760-udc: Provide missing description for 'udc' param Date: Wed, 26 May 2021 14:00:19 +0100 Message-Id: <20210526130037.856068-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/isp1760/isp1760-udc.c:150: warning: Function parameter or member 'udc' not described in 'isp1760_udc_select_ep' Cc: Greg Kroah-Hartman Cc: Rui Miguel Silva Cc: Laurent Pinchart Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/isp1760/isp1760-udc.c | 1 + 1 file changed, 1 insertion(+) -- 2.31.1 Reviewed-by: Rui Miguel Silva diff --git a/drivers/usb/isp1760/isp1760-udc.c b/drivers/usb/isp1760/isp1760-udc.c index 3e05e36054357..a78da59d6417b 100644 --- a/drivers/usb/isp1760/isp1760-udc.c +++ b/drivers/usb/isp1760/isp1760-udc.c @@ -137,6 +137,7 @@ static void __isp1760_udc_select_ep(struct isp1760_udc *udc, /** * isp1760_udc_select_ep - Select an endpoint for register access * @ep: The endpoint + * @udc: Reference to the device controller * * The ISP1761 endpoint registers are banked. This function selects the target * endpoint for banked register access. The selection remains valid until the From patchwork Wed May 26 13:00:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448187 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198706jac; Wed, 26 May 2021 06:01:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+aZE8N7Z49IMeFcRiYYQInT1F/jftSE0XAjkr5Acif7PURCXYHZUeSY8hIHPOGxH8+7Yu X-Received: by 2002:a05:6402:944:: with SMTP id h4mr37375085edz.319.1622034072284; Wed, 26 May 2021 06:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034072; cv=none; d=google.com; s=arc-20160816; b=vqu60FWuQaBXiYFxnZekiYhC1tKqnYhLEKeyLyL2yl14vAy0fszBz010GJL7YMjwMy BmS46L97Z/W7ukxHsTeTW6+yLLpiT3jQmurt+7MItWIzGv6ZhqP34TRqxt+3LV2ZN2Db U7PQMfhm1LzRmS7kGtRSLpPwQw2bOkowGGhryI1eW0Gc51iIZxv4OCrIXz1JNebDj4I/ Pu2yflYmRh7CxiuNZHIJz2Lu3knjbNX50+n0Q+yOfMPW39Nf0bj0h9qOFsuvJr5M6qXp HkxfVLz5EEb2JWTgZU81oV4vr850TI0Cyx1jvC6Ewynh39djELS8NIzeQw2B2crB9V7r yeIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bHe9ARlYsCpGyc2PnVMeDtwwbzQY+BuocRosRFIIzzg=; b=Q8sio/8bex5o0sPP/WxMjETym4TBpor2WxPLTOfnBV96WSD+kQdsR7iw36wRvPYNSi +LnoFrl4SetuYY9f4SMvPrbjFanzyJVXwwNbgb6Fwls/a0kWYXRmqgMA9jId3gPIWvFz 4lS7SAM9Px2UdsUQ6QOpUAtHNDlyv1RWbL3JqqHHHEt9Qq23B4NffkGIeHmvskbGFr+c 4fTH5A89PE1/TJwzOyvVaVLhgwjus/henIHus/LLyyBN9Zyj0cFB26mQjwFScA4s/2rb JaUM1KfNDYFMMvqqAx3xBA5iiGx9wb6JYqj+8m3ssDA0u2gwLC+Z7f/XvdZ77LAdA+UK sckg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JY5aHMXs; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.12; Wed, 26 May 2021 06:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JY5aHMXs; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234973AbhEZNCl (ORCPT + 4 others); Wed, 26 May 2021 09:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234862AbhEZNC3 (ORCPT ); Wed, 26 May 2021 09:02:29 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA7A7C061342 for ; Wed, 26 May 2021 06:00:54 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id n4so1058841wrw.3 for ; Wed, 26 May 2021 06:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bHe9ARlYsCpGyc2PnVMeDtwwbzQY+BuocRosRFIIzzg=; b=JY5aHMXsFxMmF2+Z5KhAAD7HpoFdqX6yaXVl3Zr+ve6G363OfluEzYx4i8yrNwJTmo 5czLxix+BV2Kob5FCBhoqAUtAl/g7PpLeK5qh3Q42EY7GdaH2NvEgwYd2jJHJPAjcLW+ tlVNfU3CqbsrPWK+MW9acMb/fj/QqFdrrDMNebdC00V8mwro/YH/POT0Hd1VuZrX+e7+ VfnwEd/m8BmV97YF8+89RvGjzZGyKXwXNjCCjgEX81tK1Ht8ZKz2Us5kq9gKyZyz+yLi BgIN7ClkhJLKd6gOmJRE8t2SrBTV4Lu/z775re6BcnRwYfvO5LsjmPd1aaoY0/aZbFra OKXQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=bHe9ARlYsCpGyc2PnVMeDtwwbzQY+BuocRosRFIIzzg=; b=RrZpuYfPI3FniHhQKCW8CEgE3JBTrDpwF7c9wx6Y/W0xOhu4RE1bQetbfSAPV3sFHO HO6mVIuQ+DRNk6U48svsKbtdo3MizFOc8LkHKnOfiYAPAZGp0Fl2t6mXsuGFzdkDvjLW KEYKc9fWMwwL8VWgupnjCkVSRIxSjBcCBjaAlJfLgB0W7SHbbIf17H8Z9S1lRFtyw4ua A1TvVBlEjJ3NIG3H9wgvDYCxjmut9VUYoujBVmPuLur6GCF73r4f2dX2Ma6WFKFGhjQ2 apY32f0zFkJb5ryYKoSTdFRiqB+US1qcTtYDRq8JCUmVIWeNTG0wpkWM1IBEYrMmQyxh wCDg== X-Gm-Message-State: AOAM531rZSKnLdZBe1oE0rOa7cMBi8it/GQ3IZRjFdvHyOCAXeuJwGVQ RQOgVw09JEES53YARm+bx+u3MA== X-Received: by 2002:a5d:6acd:: with SMTP id u13mr2894464wrw.272.1622034053380; Wed, 26 May 2021 06:00:53 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:52 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Pawel Jez , linux-usb@vger.kernel.org Subject: [PATCH 07/24] usb: cdns3: cdns3-gadget: Fix a bunch of kernel-doc related formatting issues Date: Wed, 26 May 2021 14:00:20 +0100 Message-Id: <20210526130037.856068-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-gadget.c:163: warning: expecting prototype for select_ep(). Prototype was for cdns3_select_ep() instead drivers/usb/cdns3/cdns3-gadget.c:2025: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2224: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2247: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2264: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2399: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2489: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2589: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2656: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2677: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2722: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2768: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2877: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2923: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-gadget.c:2986: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: Pawel Jez Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-gadget.c | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-gadget.c b/drivers/usb/cdns3/cdns3-gadget.c index f3c027653e0e6..54fa429fae777 100644 --- a/drivers/usb/cdns3/cdns3-gadget.c +++ b/drivers/usb/cdns3/cdns3-gadget.c @@ -155,7 +155,7 @@ static struct cdns3_request *cdns3_next_priv_request(struct list_head *list) } /** - * select_ep - selects endpoint + * cdns3_select_ep - selects endpoint * @priv_dev: extended gadget object * @ep: endpoint address */ @@ -1835,7 +1835,7 @@ __must_hold(&priv_dev->lock) } /** - * cdns3_device_irq_handler- interrupt handler for device part of controller + * cdns3_device_irq_handler - interrupt handler for device part of controller * * @irq: irq number for cdns3 core device * @data: structure of cdns3 @@ -1879,7 +1879,7 @@ static irqreturn_t cdns3_device_irq_handler(int irq, void *data) } /** - * cdns3_device_thread_irq_handler- interrupt handler for device part + * cdns3_device_thread_irq_handler - interrupt handler for device part * of controller * * @irq: irq number for cdns3 core device @@ -2022,7 +2022,7 @@ static void cdns3_configure_dmult(struct cdns3_device *priv_dev, } /** - * cdns3_ep_config Configure hardware endpoint + * cdns3_ep_config - Configure hardware endpoint * @priv_ep: extended endpoint object * @enable: set EP_CFG_ENABLE bit in ep_cfg register. */ @@ -2221,7 +2221,7 @@ usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, } /** - * cdns3_gadget_ep_alloc_request Allocates request + * cdns3_gadget_ep_alloc_request - Allocates request * @ep: endpoint object associated with request * @gfp_flags: gfp flags * @@ -2244,7 +2244,7 @@ struct usb_request *cdns3_gadget_ep_alloc_request(struct usb_ep *ep, } /** - * cdns3_gadget_ep_free_request Free memory occupied by request + * cdns3_gadget_ep_free_request - Free memory occupied by request * @ep: endpoint object associated with request * @request: request to free memory */ @@ -2261,7 +2261,7 @@ void cdns3_gadget_ep_free_request(struct usb_ep *ep, } /** - * cdns3_gadget_ep_enable Enable endpoint + * cdns3_gadget_ep_enable - Enable endpoint * @ep: endpoint object * @desc: endpoint descriptor * @@ -2396,7 +2396,7 @@ static int cdns3_gadget_ep_enable(struct usb_ep *ep, } /** - * cdns3_gadget_ep_disable Disable endpoint + * cdns3_gadget_ep_disable - Disable endpoint * @ep: endpoint object * * Returns 0 on success, error code elsewhere @@ -2486,7 +2486,7 @@ static int cdns3_gadget_ep_disable(struct usb_ep *ep) } /** - * cdns3_gadget_ep_queue Transfer data on endpoint + * cdns3_gadget_ep_queue - Transfer data on endpoint * @ep: endpoint object * @request: request object * @gfp_flags: gfp flags @@ -2586,7 +2586,7 @@ static int cdns3_gadget_ep_queue(struct usb_ep *ep, struct usb_request *request, } /** - * cdns3_gadget_ep_dequeue Remove request from transfer queue + * cdns3_gadget_ep_dequeue - Remove request from transfer queue * @ep: endpoint object associated with request * @request: request object * @@ -2653,7 +2653,7 @@ int cdns3_gadget_ep_dequeue(struct usb_ep *ep, } /** - * __cdns3_gadget_ep_set_halt Sets stall on selected endpoint + * __cdns3_gadget_ep_set_halt - Sets stall on selected endpoint * Should be called after acquiring spin_lock and selecting ep * @priv_ep: endpoint object to set stall on. */ @@ -2674,7 +2674,7 @@ void __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep) } /** - * __cdns3_gadget_ep_clear_halt Clears stall on selected endpoint + * __cdns3_gadget_ep_clear_halt - Clears stall on selected endpoint * Should be called after acquiring spin_lock and selecting ep * @priv_ep: endpoint object to clear stall on */ @@ -2719,7 +2719,7 @@ int __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep) } /** - * cdns3_gadget_ep_set_halt Sets/clears stall on selected endpoint + * cdns3_gadget_ep_set_halt - Sets/clears stall on selected endpoint * @ep: endpoint object to set/clear stall on * @value: 1 for set stall, 0 for clear stall * @@ -2765,7 +2765,7 @@ static const struct usb_ep_ops cdns3_gadget_ep_ops = { }; /** - * cdns3_gadget_get_frame Returns number of actual ITP frame + * cdns3_gadget_get_frame - Returns number of actual ITP frame * @gadget: gadget object * * Returns number of actual ITP frame @@ -2874,7 +2874,7 @@ static void cdns3_gadget_config(struct cdns3_device *priv_dev) } /** - * cdns3_gadget_udc_start Gadget start + * cdns3_gadget_udc_start - Gadget start * @gadget: gadget object * @driver: driver which operates on this gadget * @@ -2920,7 +2920,7 @@ static int cdns3_gadget_udc_start(struct usb_gadget *gadget, } /** - * cdns3_gadget_udc_stop Stops gadget + * cdns3_gadget_udc_stop - Stops gadget * @gadget: gadget object * * Returns 0 @@ -2983,7 +2983,7 @@ static void cdns3_free_all_eps(struct cdns3_device *priv_dev) } /** - * cdns3_init_eps Initializes software endpoints of gadget + * cdns3_init_eps - Initializes software endpoints of gadget * @priv_dev: extended gadget object * * Returns 0 on success, error code elsewhere From patchwork Wed May 26 13:00:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448186 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198678jac; Wed, 26 May 2021 06:01:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMMiF+M6NBOkS+Fwu1znU5A476QoreF9/nn2hzI/aCqAGvcx2jVjKteah3CkVrVVqIaOq2 X-Received: by 2002:aa7:db95:: with SMTP id u21mr37498632edt.152.1622034071347; Wed, 26 May 2021 06:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034071; cv=none; d=google.com; s=arc-20160816; b=0lDS77Kl6ME6JX9w1jCvEgSYZSUBdc83OVxyciggzixY8IHFRCo5T275OCek1eaFdr J5Hy2HGKcY3xhMySkxJOQFDtU+JGX5DlZVpfSafHbZGOdo8t7oyjiZDSaTXQ8LcPGAWs f8642+plaJ+LhOaIPgNzDRCHikp4ikdXVgNN8aAf9D612ZPt4OFw6G/qlA8lX+JoYprg x5Kv4q/t6vLoIIfpNbzK6lEzLo1/N1L7Vw46cOn2oNMoZCCLXvMKrthELLtkHbVOBzIO tH4iHo3EZd+PJOS18L+SWArV/SB8teHoEMviomnmpvF7NUlSTPNYagSWD8abHm2H3Pal c5Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=STuRU/wuc0GUpuvMIUPILdBJPB0EkMi/MfUyTQ2qMVk=; b=KB6L71iBrM0j0F3EahVZJU1gQjSUPqXV1YFn2qlhUA5K3DJvZtTgkhXwkIX2Dc0iFi Vi0zy0vv8CrFaNDFK+REc8rctTQ/AqNCGpWhiPaPQ1OVPrPAaqS0N5Lr/vq8YpDzzYTt dzvFfkeNxdtv6h/eZqw6E3GwX+aF3upBeIYt1XWLiGdIEBdHlZQGeHi4Xnf1/4I0OkMp H6Iy86nZdp55gm6zzg13Snovs0S0aHF8Wbg2bB+oOz6WTPxK1745c1my8MxKMtrn7q0v kClEqftp5Ob0FCJRKapXbTp4B/I/M4G+bhhYEfxv02xw5ZG85ecXpOi9sraH+nsoVwA1 9e+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=miWQDZMe; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.11; Wed, 26 May 2021 06:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=miWQDZMe; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234966AbhEZNCk (ORCPT + 4 others); Wed, 26 May 2021 09:02:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234854AbhEZNC3 (ORCPT ); Wed, 26 May 2021 09:02:29 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE23C061343 for ; Wed, 26 May 2021 06:00:56 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id n17-20020a7bc5d10000b0290169edfadac9so460467wmk.1 for ; Wed, 26 May 2021 06:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=STuRU/wuc0GUpuvMIUPILdBJPB0EkMi/MfUyTQ2qMVk=; b=miWQDZMe+7Q4YePFJAgOOrJb6nHoFfFg+iaqvugtF5BTrv2fZ9Tn3s0JE+X5SJsNjQ naYBKCPuEj+tqxappTCFq1JKLcbIhFEZV2wSbPk8n+23iZM5OqixbWjmhXBkh7Ph+qx2 fkrXjGzUPRqzeVHapsb5XM7+1fEGuiLwQT4Fd/a44KzJLS+63zE6L5hrPY2wLOS3b/lh TF5CK18z2Z6HNJOrDENrncqjKsK3JF85in6xKMMdJsD1PAZc/nnQilVzGr3aHjRLsdaS vETo2DPbH+uDx2BYOkwJASUUdNiBJRplY5xf1+PlDDSrozSIEWPJOEf2NOp+4O4hZ7HV sLfA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=STuRU/wuc0GUpuvMIUPILdBJPB0EkMi/MfUyTQ2qMVk=; b=TCVGt6dphKflwsySfubSZlfI+CuzOHnvpttzMxS91JIgaZNT5x3xdjIjg6DsrHMc17 mpAjglVSNFj7VmaqdkY+3oHiLlZCbeQzgs3YKYbySGL+vO83z66wDKnJ+SYi5jnTzQoB WwvVWCbwATxgnSKNj2piHSzCVyRV1J6UYCFBrTtiv1zVMidXBjnOkjTzn+H44AU6OoOv try++iiSn2g8zAOxwd+BNACIZc1w7kSw7fB24Y65+VadP37/rBjx4RBc1sA83+EkoshR VYHGTfJmPOJ8YKM/TPdOjqRHo+696xFG8J5HQxswSZxSMGK5HuRd7mhQmH1kWn4c3e6L +gRQ== X-Gm-Message-State: AOAM5334m5teNIL2C67fZ98sO4vkEQ+msRNzAS377GCt7vnGzTPt+Af6 xuuuVf0bloX4HOpFdT5zBO5Cpg== X-Received: by 2002:a7b:c943:: with SMTP id i3mr28099019wml.182.1622034054497; Wed, 26 May 2021 06:00:54 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:54 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 08/24] usb: cdns3: cdns3-ti: File headers are not good candidates for kernel-doc Date: Wed, 26 May 2021 14:00:21 +0100 Message-Id: <20210526130037.856068-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-ti.c:20: warning: expecting prototype for cdns3(). Prototype was for USBSS_PID() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-ti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index eccb1c766bba5..07c3187703623 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b/drivers/usb/cdns3/cdns3-ti.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -/** +/* * cdns3-ti.c - TI specific Glue layer for Cadence USB Controller * * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com From patchwork Wed May 26 13:00:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448188 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198722jac; Wed, 26 May 2021 06:01:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVsuaTJkNtPtkGXgXH3FbJ4V8rOkr8kXvPdZERBmzjFHfGIlalFAjCtv2iSXarD+fzhtuu X-Received: by 2002:a50:9990:: with SMTP id m16mr36985592edb.292.1622034072961; Wed, 26 May 2021 06:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034072; cv=none; d=google.com; s=arc-20160816; b=rWrScieNDrfM/uMfo6zfBuLCi3A+L342JIxcR3wmck9xOu85ZPS3krvyL0xcBktjxd sdg6VA0r4K9ADawJKmQmNQvzOKTU5SmENeBlWBGWG9TGnH8ppxax977mrVWXWwI39QmQ W/3WjcC9Qft5DM6hKzTqBt4TDbMznHC+g1e5JAvsJczwdW4GO+qx1zZRLKQTU+Quw5UM Gy9zM7rfPHMgNjnDeejAh9KRdsT6kxS4gSSTciBwc54b8kGP0HWleHdxZxqjHhDW3xTQ C6LuPoo8ajqh66UzaWwlrSnzIdkbNhM6y8iluNdwHVjznQw8Cp2UKkOJxEpTqz13ohrC x8ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8thE6pWPMC1cZ/BkZSyAo0Kom76zxaAdnKK0vRxVopk=; b=yfU/4T4kV/xjZGAQbUm0vjYHU3AMLqjDJkbXrwR7yqxgLAoHzzCd8wuCLmdIbTXZsM Xm4Xzg+0sE/CfZCR/LQWbxZuMSEtRy52NjM/NbupGAuBN7atAaK6N7f99DznfH65faB0 bM23zryKxgOkUJNvXCWXN05DxYwNF9nhRRP6YD6LluDNGczVGfw3oNx9W6HZZS3pvvLh EOlKla4hft1U1hVq/UZlMytQHnl9UjwbGkJvzKZttQ7Q0zXYdWWtURdQoSPsjX5BLSfv PchQe02SvhZPCXMPuenwWD9C5aZdKaKr87wMtv31IqK21aNGJm4vmwHChYkLpdvqjTiS gM8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l3+9+sAr; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.12; Wed, 26 May 2021 06:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l3+9+sAr; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234760AbhEZNCm (ORCPT + 4 others); Wed, 26 May 2021 09:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234539AbhEZNCa (ORCPT ); Wed, 26 May 2021 09:02:30 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13D14C061344 for ; Wed, 26 May 2021 06:00:57 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 16so659952wmj.5 for ; Wed, 26 May 2021 06:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8thE6pWPMC1cZ/BkZSyAo0Kom76zxaAdnKK0vRxVopk=; b=l3+9+sArtJ/npKGd6maCVLyj/91WVG4+XgCQZ8lCsVfxqN9PiIf9xxGjew1wVJcAXP hwN2AFlt19+wj5Dmb41WkHz7uADqmujPGU4DpgFyUIVe9DwGKRTlLvHyUmkwKtRS4O08 9QM6pD7kpebhn4Cr6ERpZVh3Hwt2ZtnPgMHWRC5db05UNXZMFxN6fCzBN6M0zXtRagpS ihmPe35VaENaN/ZgKdftqp+Sy62B+Tbo/Bx7cVjq96NxJnrhID0Zjp3uqmoyNq4yYyyz pXMF70sWENPREoD3EpPBxrbmHiiRMKq7C3uo9Nmc/OgYsJYmWXI1roKwwOuFvfPTaCnK SyCw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8thE6pWPMC1cZ/BkZSyAo0Kom76zxaAdnKK0vRxVopk=; b=MBmz5MYp85iiQA18RMvv7EwlhLlQ6Khab0+P6mPRtb0k4qIjBPg70gEDthJZosEQkh ITI0KcNxO4Zwm8VYJN418hb+HPVYU3ZyljLHaY0fGb6rS3csjOPbpqBgX7s5T4G9g+f9 sqzMdRuOev2jqbWrBGirExTm897ydS7vwa/gL63XhXWD7XOK4oAID5nO2anMJwGt9PKm 0Nf8dGbOUgS0xhUv2oLxaOTfjl+QNUO15a4OxDmHHAUsGikwspH+qFQjbKWntgYYtYl5 0PZXCeD3iDGNCe6nkuvUB+v1WOq4yjfGqDk3wqwVDnQUhGhvGzZ1uq/riPjptW+NJK7d L5iA== X-Gm-Message-State: AOAM531NXwX2JmojTSy6M84jP0FF7aXoo3b9VKWVm/eIXVDaSlmidG8D 3A/9ygDd4qL17UpwDfZdp7Qf6A== X-Received: by 2002:a7b:cf09:: with SMTP id l9mr29419759wmg.184.1622034055675; Wed, 26 May 2021 06:00:55 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:55 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Pawel Jez , linux-usb@vger.kernel.org Subject: [PATCH 09/24] usb: cdns3: cdns3-ep0: Fix a few kernel-doc formatting issues Date: Wed, 26 May 2021 14:00:22 +0100 Message-Id: <20210526130037.856068-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-ep0.c:680: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-ep0.c:775: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/cdns3/cdns3-ep0.c:868: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: Pawel Jez Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-ep0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-ep0.c b/drivers/usb/cdns3/cdns3-ep0.c index 9a17802275d51..02ec7ab4bb489 100644 --- a/drivers/usb/cdns3/cdns3-ep0.c +++ b/drivers/usb/cdns3/cdns3-ep0.c @@ -677,7 +677,7 @@ static int cdns3_gadget_ep0_set_halt(struct usb_ep *ep, int value) } /** - * cdns3_gadget_ep0_queue Transfer data on endpoint zero + * cdns3_gadget_ep0_queue - Transfer data on endpoint zero * @ep: pointer to endpoint zero object * @request: pointer to request object * @gfp_flags: gfp flags @@ -772,7 +772,7 @@ static int cdns3_gadget_ep0_queue(struct usb_ep *ep, } /** - * cdns3_gadget_ep_set_wedge Set wedge on selected endpoint + * cdns3_gadget_ep_set_wedge - Set wedge on selected endpoint * @ep: endpoint object * * Returns 0 @@ -865,7 +865,7 @@ void cdns3_ep0_config(struct cdns3_device *priv_dev) } /** - * cdns3_init_ep0 Initializes software endpoint 0 of gadget + * cdns3_init_ep0 - Initializes software endpoint 0 of gadget * @priv_dev: extended gadget object * @priv_ep: extended endpoint object * From patchwork Wed May 26 13:00:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448193 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198746jac; Wed, 26 May 2021 06:01:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7oD8z9/nVjKOdxBixY/4+/U9GPTGAz0UYXbjt/GRQsMHLUu/S6x2kIr7TqlAuipJrlSKi X-Received: by 2002:aa7:c152:: with SMTP id r18mr37058174edp.266.1622034074064; Wed, 26 May 2021 06:01:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034074; cv=none; d=google.com; s=arc-20160816; b=AT5OmtTofOXDTZsRteSGKgyRJpq5J6abT3+8qkimUGaeJto52uaDhu2StK819ZRshl +3lhTgiO0Q4qIe9MUcRnBgxCkJQSOJgmABmRpt2UbRSSRd8Gs638JPBqft8N0vaUSGuY 0bRMdz2B9DSHeIt5n3zmWYQea8MKPwelz9nk9k+4dY4kYrRbkrpYeatc0NyMhXsTkyse dFSiAc6tapXIe6q+hM9pBiKhCrOYiXRX8Zszeh2XoSjytMe7GjexinQDtc8drJ8l/6lD 7J/7Ze3twC4Zssb9e98TDCvr5wkqZUfvhRKV58MsK1FJrRTpaU6Je1jIEyfzMJdlAlEA Allw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KHHS+1f8u9j5b2K6D8nWWJ9Ja8sSbiW1E3dlvhtlLBY=; b=Av/kR1C/FtgM1TZ1PuM3/Pl27Q4fW85l0xkBCuhSn4bLwZAZJc+CWUy9KUJosF8xOr jJhHA9jsjyYPHiuSlvntMnQZveXW1bS7Dx+Q/F579MnMvsWzg8AzcxLj8feEhfyX4HF8 RMr4XogmY/L8YqTkA5MevokzENhRIsg/opi4JfZbKCbOmS92ERWcJg3RTkNVGESli/9n yvN7LqCHmHUZ60PEUPSTGAV8ijIgp1QWkdSTOt9AqykLZuXQFOJVcUom62w1DCjtLA2K lXhlMgjlkTEVUYhQCrYj5vmjAhZqoXb1brdvJ/ELzMARWxinDi+igIvH6GX00KJXgh4P +rRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YdrcsCUq; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.13; Wed, 26 May 2021 06:01:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YdrcsCUq; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235002AbhEZNCn (ORCPT + 4 others); Wed, 26 May 2021 09:02:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234289AbhEZNCd (ORCPT ); Wed, 26 May 2021 09:02:33 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8690CC06138A for ; Wed, 26 May 2021 06:00:58 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id q5so1051025wrs.4 for ; Wed, 26 May 2021 06:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KHHS+1f8u9j5b2K6D8nWWJ9Ja8sSbiW1E3dlvhtlLBY=; b=YdrcsCUq4brY2yobkX1/GUAIJXjIThXIDSYtUILPMJ59oHikTJJPOJk1KVRV4C/N1/ iU/2WvkrVWitvghGCE/UXvluwkqQX/mu2U5XDgxqePLxUNyQnQJrcn8Mcy6xWZ47u+sW pjoVRMNu4yYUclNsmy9F0WlBUKG6T4DzwKA7nkYPnakxozPnXYSDkVlUYK7f5sBwD9HF IG0TgozYv6h4J2TKq8ISwJmGJjJFYo3Hk68b0rR3JS8wUS77JXjQznwxsjLAbUqhkmj+ Mpg7GL0/l0qJJNjXzoZc6fRJ6KZ8ZR/SKxZrH2ZDXp3UpFO14Mx+ahUBLi91Jd3Pe4eQ ii5g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=KHHS+1f8u9j5b2K6D8nWWJ9Ja8sSbiW1E3dlvhtlLBY=; b=RjUWVDEqYlh3C3tc+7WPxhOA5EI6BXXaLaSBqSU3ns7gjAEDL8cyoyBXux2zaAWgNR ueiCF/drsjhFNh0ttQ1BQFJDSweGcufaXGS44pvUgHXR6nOqR3SbGMCiyikeEU9Ifs+/ 0sZ1YnuOOvHldiQrpQm8zlhRqFEaa+SF2Xz+SWQKw7kVOAUtJYtQbweXg8H0evT0ggR3 arVPubWMbGv1eb+BAKeTqZhN1sb5r4TXmkuHuGqhBWjTAV3g3KB51B4fSAKLkPh4MReZ 9UCM/wgb7ZyjOjGZeNqEfxCS7B5iIIfBrflkoTfagnfi9dEV391AeQ18XXE2k+j67uZG Y+4g== X-Gm-Message-State: AOAM530FVBqhzMQ8rKWIF5daAWX53Vbgxkd3ocIJ22tKCMsb/7Tj0VNb /lGkszAF8J+cJbg9XES7Ye/kNw== X-Received: by 2002:adf:dc88:: with SMTP id r8mr32103693wrj.277.1622034057161; Wed, 26 May 2021 06:00:57 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:56 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/24] usb: cdns3: cdns3-imx: File headers are not good candidates for kernel-doc Date: Wed, 26 May 2021 14:00:23 +0100 Message-Id: <20210526130037.856068-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-imx.c:21: warning: expecting prototype for cdns3(). Prototype was for USB3_CORE_CTRL1() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-imx.c b/drivers/usb/cdns3/cdns3-imx.c index 74e758dc08955..59860d1753fd5 100644 --- a/drivers/usb/cdns3/cdns3-imx.c +++ b/drivers/usb/cdns3/cdns3-imx.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -/** +/* * cdns3-imx.c - NXP i.MX specific Glue layer for Cadence USB Controller * * Copyright (C) 2019 NXP From patchwork Wed May 26 13:00:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448189 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198768jac; Wed, 26 May 2021 06:01:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbaT8bAuJQQvln2h3CoxwcgLH+AoQMGffZkz7qnt3X7eK0fXQbZG8GGiOhxERWqruyE5VH X-Received: by 2002:a17:906:c211:: with SMTP id d17mr33713761ejz.247.1622034075168; Wed, 26 May 2021 06:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034075; cv=none; d=google.com; s=arc-20160816; b=j0NLIiTGJKtQpFjKswYUqQUsahE5VTIMTK4Xu00l/YLBjJcsBHbv6d/EhkUDaebUDt j8DlyQOLv+6t4uWdB50JxAHFT1Zj4jtUXSjVw+loBDe8g0lRLMnMHhKMZBL2nDUfZmai +wo6Q74+HIIMN1nHgfUsd1BK1/fJsWI495jWc4WYfQeQYO0N+sQLV3OhrGCJS+U4jI9A uBJZ6eQHK2agSsNGMCICdaca4VJCofoqWIcBtjkII7Gr99+E+xo4cDyJBQ3kvlrjNbtA rO88qFl4M4ZFWLG4s3XXZ3yR1xjkf2C40qsKZpDypYh9JSI88X+/AwB+jfO4CSykTpAF kWyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qOQPZ7P2+d7bQl1bhkEaXoufFGWie1gF+nljkJu9wC0=; b=hU7TZvuzzcil7xRVRGm1TPPJYkWbwH2D3lf4ieVakqSRR5Vtn/yft8GOnDOl46wNVW Bk88LUxcKAziQzrI0yJE2xAvBPMmr4CfaJ0qDbbYKfBh7iwf3kGBNKTyW/lDE5zBn1y6 gNWbib+n8UrqouseGQdCOjVKdGKv2CgcCrVEeO0ciqDuniuyxMao4mfoppn+KuxW5HUb LRLloEFop3Gx9TjbMSrV/bSc9927GvfnFrzLhleH4zu8EE3GTp2pJh1n21xigreET3QJ YgDH/7a7uoJP27kLP81sFZp+hYfipriZzKtxscz48oITWOzKuBo+Yy0PkEuxeMkqHBpW p1yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sKCa9Z5U; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.15; Wed, 26 May 2021 06:01:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sKCa9Z5U; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235012AbhEZNCo (ORCPT + 4 others); Wed, 26 May 2021 09:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234915AbhEZNCe (ORCPT ); Wed, 26 May 2021 09:02:34 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580EAC061348 for ; Wed, 26 May 2021 06:01:00 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id p7so1021401wru.10 for ; Wed, 26 May 2021 06:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qOQPZ7P2+d7bQl1bhkEaXoufFGWie1gF+nljkJu9wC0=; b=sKCa9Z5UGvS37C92I4u+KIUCl0wzXAzjIP7bBogERl5FuUyOPPKclkJJw06G1h822n Qmfo5qvZZPCgUB5+vngf8BRnUzXFdWmoekhArA15G2QU7E0Gny0aj1kTcgvkrB22tCsb 6LCpj/Epfo+c1p3HHg7gpXf/W3FTVaYwyMomjJyZKeyODiTncWS/i3PGUR/qCXtnLFdo tx6btx+Ul9mYh2MxVuI+7AewtWlwl1XrrL2P/z/HiDtodvogUfsdFhf8zC2FrfdgiJ4s ERiGPcmn8FSG3YdQfVAVfbLXUDW/XupGyx26HrxD6pf1oWhAsIoOoz2+6bERIeaWrV1s uZ7w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qOQPZ7P2+d7bQl1bhkEaXoufFGWie1gF+nljkJu9wC0=; b=fgahQAgaIakA06oggGu+lEYZJS5XsotIVQh2BZwnJCsBWuqCtpMyEeBhwfIvt2S3md 2YOXp/KfseqQXvAvbMyiiNnLJBodKbnPb+auS5YwhUD68V5ETpbvKtzkq5eh7l6v6nrv Xh5CYknS0Q7m+IxKiKiLGJ3nWz4n+HchJHaTuiHkYxUu/APZf+mnx5fy2hkk5eUWSTKu gLORXQ/DUsj5FxfIyj/lhNhMYrjz7Zn4LnTFhEIfCX47eBWyj0LnZo4HjTxqGXr0MYLx wZYPBsx0me4tEH6j5truc9pobjQGukJcX6huYLlYyxiA/ZCC+b3qKTitBCVaIS8jObUF 64sw== X-Gm-Message-State: AOAM533d0c5FHB8ssAtfumtezF3oLa3St+IHSV/ghQyf5Run5rMtxpow b2zaW0TOQpu43Wm7QL/kIF6pZw== X-Received: by 2002:adf:ea8e:: with SMTP id s14mr14015140wrm.135.1622034058258; Wed, 26 May 2021 06:00:58 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:57 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Minas Harutyunyan , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 11/24] usb: dwc2: hcd_queue: Fix typeo in function name 'dwc2_hs_pmap_unschedule()' Date: Wed, 26 May 2021 14:00:24 +0100 Message-Id: <20210526130037.856068-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/hcd_queue.c:686: warning: expecting prototype for dwc2_ls_pmap_unschedule(). Prototype was for dwc2_hs_pmap_unschedule() instead Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/dwc2/hcd_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Minas Harutyunyan diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c index 621a4846bd05a..89a788326c562 100644 --- a/drivers/usb/dwc2/hcd_queue.c +++ b/drivers/usb/dwc2/hcd_queue.c @@ -675,7 +675,7 @@ static int dwc2_hs_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, } /** - * dwc2_ls_pmap_unschedule() - Undo work done by dwc2_hs_pmap_schedule() + * dwc2_hs_pmap_unschedule() - Undo work done by dwc2_hs_pmap_schedule() * * @hsotg: The HCD state structure for the DWC OTG controller. * @qh: QH for the periodic transfer. From patchwork Wed May 26 13:00:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448191 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198806jac; Wed, 26 May 2021 06:01:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTtk/Nuup3pNUxeJ1WD92RgCJ/KC4Y/t4FCHskr6HWAQqiMNJPotJKHqdSs6VrHSJ2S7zl X-Received: by 2002:a7b:c084:: with SMTP id r4mr28134805wmh.102.1622034077018; Wed, 26 May 2021 06:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034077; cv=none; d=google.com; s=arc-20160816; b=O3AcnRSFIuq6K00HYsEeJax2xKTR2gLJ8Id47tOhtr8DJqFjhy1N58fV7iNxwMoiNX GF1UXxo75MsQqPq3yTnac8W9BgXDDtKoBBVmPhGnLLkU30jVHzxyQAZu85rV1HPEzN2g Uykc36SDPczblcxb5plVGKUMIDn4yZU+kcEWO7PzG5km1Hk0LEccGc9GQO5fZx3UtZ7w +7mZu8397ei6SjH7zGbHGv1xdzqEDpbP1Z5CzOWcCg3+4YMY5UmXFBkB3YpQTkF2hlHG s5WpduhUiLUYwNV/sOfAqFdEOmVfdzS9lCVQ/fO1CHymcma430nn5+BdHC5s3q+z0iJS vJdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W+OavcC8Mf6L2+I1rnG6cw4PADOCCv9K+yYp1HsQIMQ=; b=C7nhDkU9yXyp3pHPsFxQnIFgz4W91U8Apv4LNfvdyo+XwUpp9grauabO7HJlppj4Hl a1R6B5w0KyK9daQhyPdU70phoIgNrhIfmq6roxd/Jmql5jCzGPnyvywar+s/hQ2XiEh6 zhsbPn0KIYUDhQRA+gn3SYd5EP03s89/D/2kCOr7mdzKCOH8WTMFkN32zjN9z3++gyLU vggLx+NW+BsDouuaK48bqUumEGV4E2Xk59dcLYWoHg8cGDCtOLw/zVrg5neq/BHJSSj6 WgohO3XvcpzyfrzgHwcCL42yq5IhkjmGiWLe3lrTYENQchc5zIZ/0c14oq3X2VrlBNMd rGwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNqpAYvf; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.16; Wed, 26 May 2021 06:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mNqpAYvf; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235037AbhEZNCq (ORCPT + 4 others); Wed, 26 May 2021 09:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234922AbhEZNCe (ORCPT ); Wed, 26 May 2021 09:02:34 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81BDCC06134A for ; Wed, 26 May 2021 06:01:00 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id o127so663966wmo.4 for ; Wed, 26 May 2021 06:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W+OavcC8Mf6L2+I1rnG6cw4PADOCCv9K+yYp1HsQIMQ=; b=mNqpAYvfoEj+tCFNvR7ME0eJRqTVE7OfqAT8QRdOBudemLP5G/52MP4JFZZCzKPaLG RefcZvvsZuHrGpGwKh68LNcy+Mj6HZJnmwZ9ZgcCNKiMgE5I/2DpyDX31AfcfyOb+aPv iXZdJBAuR2ds+A4Mje61JH6uIkPJChRnuCSoldrSSo8SuBuvQvt0AZkaueITAIcIfM/K BSbMPBqbZ5uoDSnvuQmTZOH6HyzUlEgn+d2LLS9vLAllECgYC9q04FOTiSE4GktTeprJ wL9XloRLy3LdSApxrZ7JE/PycHfUz5CWAz9lgraXvOIMO3pjz30QfQ/f2Pag2d8CCCOW 83mA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=W+OavcC8Mf6L2+I1rnG6cw4PADOCCv9K+yYp1HsQIMQ=; b=oNi6dCRup4pu4FkjpvSLChiqdomsayatKc52eyv7qWydj0ZjNACOmqHNfVw/9jbnTs NreEopkAFytVzouuCOhpmfIPB1hjK5u7ldzKqR7LNkBnP7GlTUwaEbjcy8/AaKixyTJO yuvV9h2VtOvYFnRFi8PisNumEUJ4Gt1wn3jprzVALbp8945Lxe+LWmmDchV0YIxC/KVx wBjJNrriXcVOkZayNtt+Kr40c4Soc7J3pkPDWAZflPjUwj7YFoRkJUmPnpbnA+0WcZ1g FvfQ/uC+pt32T5Ye86hpICG6xDl2WDXYrBNBFumGElHHXVTAaUAKqB0mQPg9VhvuV/DO PP2w== X-Gm-Message-State: AOAM5339omOwETttssP5vdt6mzFOkdalYuI5dwdpRrq8SDacG+YoGK4W ubW6AKmGw4qFs3R3RbHILEYO9w== X-Received: by 2002:a05:600c:4f0f:: with SMTP id l15mr3304651wmq.143.1622034059177; Wed, 26 May 2021 06:00:59 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Minas Harutyunyan , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 12/24] usb: dwc2: pci: Fix possible copy/paste issue Date: Wed, 26 May 2021 14:00:25 +0100 Message-Id: <20210526130037.856068-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/pci.c:73: warning: expecting prototype for dwc2_pci_probe(). Prototype was for dwc2_pci_remove() instead Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/dwc2/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Minas Harutyunyan diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c index 0000151e3ca96..a93559b4ecdbc 100644 --- a/drivers/usb/dwc2/pci.c +++ b/drivers/usb/dwc2/pci.c @@ -64,7 +64,7 @@ struct dwc2_pci_glue { }; /** - * dwc2_pci_probe() - Provides the cleanup entry points for the DWC_otg PCI + * dwc2_pci_remove() - Provides the cleanup entry points for the DWC_otg PCI * driver * * @pci: The programming view of DWC_otg PCI From patchwork Wed May 26 13:00:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448190 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198782jac; Wed, 26 May 2021 06:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJc2ckiIHZL0kceJquJSV92uJTHq9vZZsvnl761NflDpjqzgDIY0EDvfDfFKFDkyIo/HM5 X-Received: by 2002:aa7:c718:: with SMTP id i24mr37294367edq.43.1622034075919; Wed, 26 May 2021 06:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034075; cv=none; d=google.com; s=arc-20160816; b=cCpevErQ/GmDU7jJ83hQvlcvuuWYBlPepiq+r1uf6WHWRXa7WmuzJyhzANgOcLKr8I E02ngrAJy/nD8CcA3biNZlwxmuCFcFf12n6zPFWugnIAGm7tXlqrqDtt6S5ys30envzc OZ1frOohIbCYLA2esPGPEMEvAFjVTb1xvsG28/nKvv+uMPDyh79sFwI0/Ch9wzijpQ80 qc+WRGuD2vAe9L33T5E0TuDGWoky7zWc74Cv7+zWN5H44LpdQ1yFtmCPQNMukmxUoYep Mum3IW1w5Cm5tr0EB/uFcCQqLzlPCc6zNbpQKitNThZTZ8Rp4WPE09F0NsGUQ8AE8lcg +wyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=17TLDNLMNiym6ubj/VtPGlj55f+c+ePvdls2dO6JkRY=; b=UyAOKC9Xm0sUp6hRjewJOxQ4V5jkzdV/t2CKnafwQpxVEn+N9oFBSxK3OxBxow1dZw IaWF0apd+lbUdjLckedbeMfBWl0QAKhCzh5qKMNLGOq9BhmlHx8f2oBYZb7st1LAqfHb OlKa8wOiYQcvcyoDJW1acPrMxXwq4+pOarvo7WPvlNGRi236XCSACL35CoMuUNTlmYwf QECMjQuBxv5izK4dMds+Lh60yw3vfWDkrkRdm/vQO3ExB/IUFYbi85nUe8Nyx5v+YK/p V7IrMiPGAeMibcgDKpV4TCItMBuJ7idGSsKMjXHtAuI/fje+jTVnHvLXcTGnPcMatkPb EUOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TGLHVGFi; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.15; Wed, 26 May 2021 06:01:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TGLHVGFi; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235024AbhEZNCp (ORCPT + 4 others); Wed, 26 May 2021 09:02:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234920AbhEZNCe (ORCPT ); Wed, 26 May 2021 09:02:34 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A40D2C06134B for ; Wed, 26 May 2021 06:01:01 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id g17so816296wrs.13 for ; Wed, 26 May 2021 06:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=17TLDNLMNiym6ubj/VtPGlj55f+c+ePvdls2dO6JkRY=; b=TGLHVGFi1H//LWKDiIWU146HBPcQTOaAlInzDkKMtYnxgyDireXkUStdB+szDl42Nm Porl3MeG7WOKPLmG7w4PtGsySMaNyeI8PRpCTpJaXkJfm9sQd1Yphs1eQNt0RIJKxE64 TehxMX048t5Tbbg6swQXkW622n49KAoGudtoI6PPWSrmpwD5ae7RhXDfpiDbJviw65n6 0RQPNbmvNqaT43Z9csy2y2TZdia1ktJilRXpO0wwhux6DArbAF1jQvCVUl6Rzqptiyk7 vi/2ZC+n1OhFh0HF20lUsB8Mm43rZW/IgOyRJIH8BTF/89W+v2LCr44j2BXHYtVsHUKq GakA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=17TLDNLMNiym6ubj/VtPGlj55f+c+ePvdls2dO6JkRY=; b=dioHwbzgKnKAyLNn/SilHLG/toRMnldMIWJ6B0WlGePfF3GfUch8b8wOe2FmNYxpfF gFIMOi/3XsIX5I5aLUsYfGzDn6sOzqf28gZtKHqSi7NCSmN19RwJrhG760rLk5ZsQF1S USUXC/opfbE/pYewQnlsaD1LlBnXQzaofgX/+eq71KpZ7VozTkX3xZBiuaPC27Z5eqQs nY4xF3bnbKwa1yijfNLvmB1s7kq5fjJ9iRQ5YYlo38X2TeUAbi7BTLit2skW6S0puiW0 k+tyOvXwA7RsRv/D5HKzdTIEUy1WemYUpTTiX5mi6gzMQjJNkseW4Eb2yTexrOkLyRmS RI/w== X-Gm-Message-State: AOAM533XL27Y0pUH+1qzDR2+tbLzePk3lD7DUMkWOBaW8RebcW8zqt5p L5PeqC/ge86Ym+oZdi5S4XK13Q== X-Received: by 2002:a5d:4246:: with SMTP id s6mr29163575wrr.9.1622034060267; Wed, 26 May 2021 06:01:00 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:59 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , David Lopo , linux-usb@vger.kernel.org Subject: [PATCH 13/24] usb: chipidea: core: Fix incorrectly documented function 'ci_usb_phy_exit()' Date: Wed, 26 May 2021 14:00:26 +0100 Message-Id: <20210526130037.856068-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/chipidea/core.c:343: warning: expecting prototype for _ci_usb_phy_exit(). Prototype was for ci_usb_phy_exit() instead Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: Liam Girdwood Cc: Mark Brown Cc: David Lopo Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/chipidea/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 3f6c21406dbd2..2b18f5088ae4a 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -335,7 +335,7 @@ static int _ci_usb_phy_init(struct ci_hdrc *ci) } /** - * _ci_usb_phy_exit: deinitialize phy taking in account both phy and usb_phy + * ci_usb_phy_exit: deinitialize phy taking in account both phy and usb_phy * interfaces * @ci: the controller */ From patchwork Wed May 26 13:00:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448194 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198853jac; Wed, 26 May 2021 06:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy14gyM0o4KSAVPHBiLpbutbTUk7a4P+YDqIQ4A419JLKcHfq2WFCEi7IfCopTb3dmTdraj X-Received: by 2002:a2e:808f:: with SMTP id i15mr2149832ljg.376.1622034079144; Wed, 26 May 2021 06:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034079; cv=none; d=google.com; s=arc-20160816; b=XH/+iPK7dyg0jsLJ1U8jpilEO8EVo+SjMTDRf0qPPZYhKAQ9Ioe/0kVzQ6dZkhPBlW UT5HKxCqddIccpA0erP4FE1/YtReqQc/paQ/Uy+Y5j7ZcstashJZnAUuhQrybwar8FCV Vi6BetnAKZ1QSKnJ0P0sFiXIXCEByQSoQihevUG6OP/2d/5Rj9yQJgRoWtY3VYDeJgBY eBOTbNSc3CAvTEsECtFVbmM5kic5u6wgLeHkO9q5Sy3PBeJQim1FWDVGT7uRyoBRgCw9 /fvJPw6BrG0JODG9rh5FyOKWzA3dm4xhUwlxwf632h8dTVBUcpHTf6TcZpcC8wbs+PbO Gy2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=p6cCnsUZyXOFFOXlQqqOGBC04t5HDDWqTpMeyqWYuVoXu3aAnheGssdaJVpaKio+ls G3uLhXoPdf3IxRVpF6ZA13wWG8RCYRRssA7I7057n202XOOgeCFa/ezU5y85FdF/6USv omnp06VCzrDcizAIb1lsoiZWlh5c2c1/qnrLlsdtI5zSiaudKOX4uE4D5QN08aaLa2Ek 2CMHcQI78dwmQcwe5eglALr/v4TJgonALGVOaVlqVxoAkpc6QW20KG2mk9f96owWI0ne T2aFuj64yiMkKcj40ip/OXTcGZydtSgUBHEn1oA6ej2DjfQNt5DXaBeNLmZ5Kn+W+eTP mZcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yzpRHfuA; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.18; Wed, 26 May 2021 06:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yzpRHfuA; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235039AbhEZNCr (ORCPT + 4 others); Wed, 26 May 2021 09:02:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbhEZNCe (ORCPT ); Wed, 26 May 2021 09:02:34 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3F38C06134C for ; Wed, 26 May 2021 06:01:02 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id v12so1050553wrq.6 for ; Wed, 26 May 2021 06:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=yzpRHfuAFiJ4nJRki9oj+LQQzpcpbJb2uP+be+5hC7r2Qt8OnrD6+KrKWDKnNuUj/c X55UMs7SbQnBOpSImIrawe7/2dcQyISDH40JFA60Z2tBxOvtul2Spxr5vriAA/ZJaPt9 pdLTcjZIn65Y6qKc8dR9fSpEVO1Oq/m93HkkpCBlbiHBXct9w0gPMycwJ3HU8gxS8BxO KVZawzDCIphzcPs8olEFN2poev3L9YOHeEd29m/AJ3aFRFszSD7Xyd9PedF5TtQhttbB SbGbINnZMNlzcGX2BiDBqMSfcC+j8rlZNjDgJjaxrDO2S9OJZ9zBHKvuFts9EvndA0q3 cbyQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0dnTAwnA+o8Rl6Vjmau/iU73tQSrbIJc4+Gm/DwQ8N8=; b=FofMeQ3GZ9eOZL6q5yDqa4ZceNANDZ/jYku0VgT8FaYGO92ynOlPlAS1MrXRm0r/Ge EHD1+tfCYbMTOH2i/0HHMfbfChxHTCfm7ElxFJaIPtzOx9WwR0B2QvEyhqIhD2OBs9kS xLTODtldXUNdSGehQhsGpz+Hkd8R0WlwdjQVPSzxQD36xSiXQ+OIL8O7LqAG9tRas35n bP1bwd9CSorXnE+An9/U6gI7Ul8tNgWw5oWAEOlTldrt0PV/kwyBxQsEYgZl7herRWn/ q6wr37Y/B3ILw3z0MFVRiMbOnQ9dF7rUO6dbRUWFXu9JS79OH9OJQrMay8t9E8F58qc4 SYeg== X-Gm-Message-State: AOAM5314cKc8y/DmpyR9j8w7BQ8x47AEifUmqNU+p6awpQ/SoAfwuHvs GUrlm07JzFEPpvtJwlmlrL8L/vsQLERPHA== X-Received: by 2002:adf:efc7:: with SMTP id i7mr25188723wrp.421.1622034061209; Wed, 26 May 2021 06:01:01 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:00 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 14/24] usb: chipidea: otg: Fix formatting and missing documentation issues Date: Wed, 26 May 2021 14:00:27 +0100 Message-Id: <20210526130037.856068-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/chipidea/otg.c:25: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/chipidea/otg.c:78: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/usb/chipidea/otg.c:143: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/chipidea/otg.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.31.1 diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index d3aada3ce7ec2..8dd59282827b0 100644 --- a/drivers/usb/chipidea/otg.c +++ b/drivers/usb/chipidea/otg.c @@ -22,7 +22,7 @@ #include "otg_fsm.h" /** - * hw_read_otgsc returns otgsc register bits value. + * hw_read_otgsc - returns otgsc register bits value. * @ci: the controller * @mask: bitfield mask */ @@ -75,7 +75,7 @@ u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) } /** - * hw_write_otgsc updates target bits of OTGSC register. + * hw_write_otgsc - updates target bits of OTGSC register. * @ci: the controller * @mask: bitfield mask * @data: to be written @@ -140,8 +140,9 @@ void ci_handle_vbus_change(struct ci_hdrc *ci) } /** - * When we switch to device mode, the vbus value should be lower - * than OTGSC_BSV before connecting to host. + * hw_wait_vbus_lower_bsv - When we switch to device mode, the vbus value + * should be lower than OTGSC_BSV before connecting + * to host. * * @ci: the controller * From patchwork Wed May 26 13:00:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448192 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5198870jac; Wed, 26 May 2021 06:01:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgkCbuMmDsVH7AhoAzuFd0DMMEWwPP77GBvNZkZ16TyoV85z+1yfpOZRxN5vMs/j9JVxzS X-Received: by 2002:aa7:db95:: with SMTP id u21mr37499554edt.152.1622034080343; Wed, 26 May 2021 06:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034080; cv=none; d=google.com; s=arc-20160816; b=oKE14naTjkw/dJt/2fwNmMNSU/g6tTDyGL4MYeWO9HpGlrMnr4eBOmBmOeG8Acc8wI IH8WJAkX314Vg7MI/Dimhs8qZewODvPZzfB/3tKY6+5LTnER5u4hlrvEDBLarJhtRllf YCj3+DAtGTg3+/+lOx+Tv1eHB8sZ+2tqJgI2M6UZ+EegYsniBM8+Z5vlKXD1HxOCvLuw pACBr/cbHEqMOkSXuVGpY4M2031XBjeO7bL5vp0nM3FV/lMNG8dpE5A6I5UX8wms3FS5 XzCPpQ5aJIC+mpUf3Hhkpa9dRdRB/pUKD+Stvv86oxr98PzfRjeWNS9AGNxu/TanAVtr +zew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AwJu7HhhGbyc5eX5Sb7yrlHyOqnZlnbHO+cts8fAJx0=; b=QzaVf9DeAkkd42Wcpa8WMjxFbwCve9whrghV53FbmIfEvxWwICAWyl06MYw/JJmy+P c7WsC/Woxur8h2ektgmu3G52dSQuyu/bVgiZVmK+NZxMqJJcv6vaeui2Zv0c2NKhee5t KAoZ5ApYWTauSxpim1RRdNnsls0al2sR5kIKGKsh9PQ6XYcRkmnBk3Jr3LUckxQrTTvu SoWezFf8cVwC5G0fnZ7+F+ZzOiucUuFB2E1zm4SNh/HreJSzLKiAUHlNM2tDe58l61dN c/a6K98MHrmdkrDj/12n1/a3LbnXdteyBEbhu8BY3Yk/nqLAcYqphrNY6FFVRBi6bFNk wmGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwhkZXUF; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si21150709ejp.119.2021.05.26.06.01.20; Wed, 26 May 2021 06:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwhkZXUF; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235045AbhEZNCt (ORCPT + 4 others); Wed, 26 May 2021 09:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234822AbhEZNCg (ORCPT ); Wed, 26 May 2021 09:02:36 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97AEEC06138B for ; Wed, 26 May 2021 06:01:03 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so439775wmf.5 for ; Wed, 26 May 2021 06:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AwJu7HhhGbyc5eX5Sb7yrlHyOqnZlnbHO+cts8fAJx0=; b=DwhkZXUFXg1XrohXL5lPgDeT4UgR4zcD3LMUIEVIZO7YN7v5cJfoIP3GUbrggiV84S M3OgQq+YoqdoNq7KtHYgnotu4HZdkTjF3XvRrymeGNXHFCzC3o7r3xl7IkCGy+PTgxxJ +e6YZwBg4dyQgdj1drhn6Ysh/B5yikrIfBe5egnRBgRLuPYG/ItNQ5yoLri546hqSr30 Cs96V1wWdQd8KJo4Nk/fhF54VYt2rvP+8WgQogd4R7WqJrUllXHWeimBNd/qGwWJM/Ma bQUcPSCuaq8s6n2Y/sf/zmlqUpUEW+rbloP0BBPQgQ3+Kjwgh59fthxVvTrSzQdr+tE9 owhg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AwJu7HhhGbyc5eX5Sb7yrlHyOqnZlnbHO+cts8fAJx0=; b=dPOBSifjSHCC3Cti6a0qVE6pduvhYV7ceF5uiJt24D08DW7ZVIAPjcMKLaaPKElvuF KYNod/irrOJIps61u1dNmSugvDx7cxdKV30fmitRAAWXEN2ssY2TAWkKGc3qNFo6cXGo FaAQvuwGICUoctm4fPYfkiT86O8+K04z2xyXYBydQwc+l7aZ1LVyzkgo0VQIKDcTe4lL +BYsWHDhPgVdXHHqKE6GqqeuwX8P4QypF8cB8FnCK+vBq/yTfjkSUBHRkR1sAGyvYBjd 5Upk84HEfLicFmrKostbOG4RGQFDppULtYUEpXqUEZFMAcBqkPMr2rXoJQf48UZTylmq sDXQ== X-Gm-Message-State: AOAM533wghmeEOPnM8HPBgDt1Lrca01AuUvnXtm4KSWcr/5k+AZO+JZZ nOI0Py7KhWDnR1FuoSsgkiX//Q== X-Received: by 2002:a7b:c14f:: with SMTP id z15mr3306718wmi.149.1622034062232; Wed, 26 May 2021 06:01:02 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:01 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Minas Harutyunyan , Greg Kroah-Hartman , Ben Dooks , linux-usb@vger.kernel.org Subject: [PATCH 15/24] usb: dwc2: gadget: Repair 'dwc2_hsotg_core_init_disconnected()'s documentation Date: Wed, 26 May 2021 14:00:28 +0100 Message-Id: <20210526130037.856068-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/gadget.c:3349: warning: expecting prototype for dwc2_hsotg_core_init(). Prototype was for dwc2_hsotg_core_init_disconnected() instead Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: Ben Dooks Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Minas Harutyunyan diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index b16fb3611a869..c581ee41ac81b 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -3338,7 +3338,7 @@ static void dwc2_hsotg_irq_fifoempty(struct dwc2_hsotg *hsotg, bool periodic) static int dwc2_hsotg_ep_disable(struct usb_ep *ep); /** - * dwc2_hsotg_core_init - issue softreset to the core + * dwc2_hsotg_core_init_disconnected - issue softreset to the core * @hsotg: The device state * @is_usb_reset: Usb resetting flag * From patchwork Wed May 26 13:00:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448196 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199143jac; Wed, 26 May 2021 06:01:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyWpCO/UIx29Szc9h2LdhI/I42MCcapVHOLRsJMMFGRpOIQCZX9b9kPuo1y8XPs+CQI46H X-Received: by 2002:a17:906:2bc5:: with SMTP id n5mr33815196ejg.531.1622034095269; Wed, 26 May 2021 06:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034095; cv=none; d=google.com; s=arc-20160816; b=ui5YPA72cQto++4QsOcOZ9bKOa/R0e9Sx7vC+aznJfviLN/qeo9EQ1VRgQRXAF/ZCo 1Hx5gjB+z4pTaiuECyzr7zgjZ3vJezMFf/z/WxTGVlcqI+m9jQH70l2lBttzJnKlo4i1 Snwz1XPAqTFT2v5jNDQS1jNuoWfkz3e6GfpaYymZaJaCdXcUKJLBnJhjcdQlTc89zI5s uVUtbyhBk6Yiw1jjE1e95Ir/OmqPe/k//YNuv9SM9gkNF4eCasLA5ztDfkLaU3QyZzk1 Ys/cZ86RMMb8+PdsRRJqzF5h4V8y/44Bz3GEDPyjI009xKDxXDR+3iQGhagCpGnC4LMM WvTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bL1w/TyfiFJcu/X6Y3NrGG0vEnjapJB2mxEC5b1yvwo=; b=XhQqAH3zJpRwWH5Nnn2uUJ1XAw22LhID67QcE6GIg44tOt6UG3hRMWGuzp4R9BnO6N a/PUraJn8uMk331rJqt6hUfLOXeocA6CVs9RnDOQloT/T0nphak9oMa+2CnG6TOWpfgP RyteKxHa1eza7uv7oLLSSRzEhAx83TUojqC1v4zYTZBi3FV0yrOHIMp74EuvNwgcoZvs U8LEGzDpMMr/cwYkmHjIFzxOAe7f+Q1CMYXSZ8KS9cNIzNaAGTjvF02DG+Bd/fOW6OBA 4AXjQ31ei1ITT/ljfc+0H+g8+NWZGIhjGpN4LakKhmFh9VYpjtFSItbecuLbCx/XzaOc baIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nSRQrBuu; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si6688603edc.226.2021.05.26.06.01.35; Wed, 26 May 2021 06:01:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nSRQrBuu; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235106AbhEZNDA (ORCPT + 4 others); Wed, 26 May 2021 09:03:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234963AbhEZNCk (ORCPT ); Wed, 26 May 2021 09:02:40 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7F69C06134D for ; Wed, 26 May 2021 06:01:04 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id q5so1051468wrs.4 for ; Wed, 26 May 2021 06:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bL1w/TyfiFJcu/X6Y3NrGG0vEnjapJB2mxEC5b1yvwo=; b=nSRQrBuu15S//ToW697AAXBuwJM+LxUL4GiHmYPy//l6CON+A1BElVvQUu5vMiZZYg G/8yI0PsEWQBD6xfygXDcS0OL+alAAGIuwcGW04VcQADbHe8OY7f7RhCp/1la9QXoKZq bZ1ysZ3wduISXYz+dlUS8T74t0R2YxIC/RNBIlf0vec55AT/C2OwmMktvpQk5o36A6mq X0zqt/6VQF+BY6jBb174lUQuA5oesMI9k6zkQWFdlxKPc8Jhwq6aYfiZytZwLjkURApd b0jYcJsnvPCkyWZorl5jQs2Wg6oL2BNLKz0M9XuyafUAg0mu7ddCzVYfwCCQ9KGzxPz5 Txyw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=bL1w/TyfiFJcu/X6Y3NrGG0vEnjapJB2mxEC5b1yvwo=; b=q570LpaF/whoykrYlZE7tYhKInt7CetEaR/zcnGEo41WMBrqp/cx0Q/v8RMhhmwUp/ mwYNfM831J0Cw7kiKImoky2UW3W3DsaEsh3dPELINNEHXOEHE6QJjQjlbOgThsuPeowh KYo0s0a5esKq/Q8Uym0ffqHyacXz1lRKTRgQfTOwuLtpuRSaTJ6HksvF6D83p87qRY4L t56Lzv5A/Lm+dLH/9xCqe3rbQ8/j8aZNsozh032jUQ8Thhu+i7LIg4FeDRc81cRnJ2CC BOSQJNB8gaKaYcvkC96CwfXZhO8Hgkg7LesYaLpOoTkCGNWjzyyHl4DHI5jAUidHBVpX 2P5g== X-Gm-Message-State: AOAM530h6nN2q0ApM06RxLQ08ZbQ0MZFZm/EFGyhTSEuKYcA2Yv9izmG O3Gk7/BS401KmijZp3C0DSHPMA== X-Received: by 2002:adf:f309:: with SMTP id i9mr33462818wro.307.1622034063292; Wed, 26 May 2021 06:01:03 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:02 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 16/24] usb: chipidea: udc: Fix incorrectly documented function 'hw_port_is_high_speed()' Date: Wed, 26 May 2021 14:00:29 +0100 Message-Id: <20210526130037.856068-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/chipidea/udc.c:247: warning: expecting prototype for hw_is_port_high_speed(). Prototype was for hw_port_is_high_speed() instead Cc: Peter Chen Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/chipidea/udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 393f216b91615..8834ca6137219 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -238,7 +238,7 @@ static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value) } /** - * hw_is_port_high_speed: test if port is high speed + * hw_port_is_high_speed: test if port is high speed * @ci: the controller * * This function returns true if high speed port From patchwork Wed May 26 13:00:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448195 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199161jac; Wed, 26 May 2021 06:01:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi+Cw3mr3DyvlYl1QfaSDAlGvW7f517sOkvBC1XeTkdQDMszSoW4/ZEJzy0qBruX0rmazS X-Received: by 2002:aa7:d758:: with SMTP id a24mr37358338eds.220.1622034096539; Wed, 26 May 2021 06:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034096; cv=none; d=google.com; s=arc-20160816; b=ptNYNLSlAJLKf6Ii0ZtxQmeH4D54saUOTc/Ogsb4SVakoYJ+dvRxp/tBqn4jTI1eXR hwIVqcuwuTU91nze2a3+iZ9CvFk8/CXQd+2bEBYLycSz60FSNC8nWkbG0EgqhNEmxe0v UiyuXK0rZmVStTbqjHpg+twz8nOO5ocWifZi3Xix4rXBgfY7Z2zXO6xZr1w3u9txaeGv DtU15yuVt+1ZD04NOM41yFxFVpRnJxHMWHVPWzRy65dw7DkMPOXFxMihJNe+nVAYnSOh R8IHfevf23VtmYEfwqspl7aTivzYddy9k7D7rGUrwzsqNF6LPnbo+ggIeX7ZVXqkvRSp /Flw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3jdajWMgqTEevQnjfYptjO2LrKj54lhAc8vIof71IVE=; b=APz1k8v4Y9Avr0FTHkj5OmtzNItcW/pYpiUBJNzNZxQdpzfDMC0Kz29mZf7mkRKF6+ TADB56jMX9TL06KLXM/KUY8BEZKygLbvGlTsEvNAAdnFsPFrqEdjoW77P9q9Rod+n+I1 KF6Xi40HtmoNVT6pTQsQEuEMD2USCEyZX06CWtdAhFpuUhy+4yyJqBcvshMa1c3tP7WQ 20wKCNVyoAgbZ2h3VZJaOou7dMXRCwsxgKkcBqcdQLnOas1o2rPug3q0GfLhXRd0Zja9 hKsgD5+uZsAqh+wC11mueXb1RefxE4G/1JR1J7MqzQOq/TUoqoe/TfENIGERfd/ho6In CtqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QO85f8fS; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si6688603edc.226.2021.05.26.06.01.36; Wed, 26 May 2021 06:01:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QO85f8fS; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234972AbhEZNDC (ORCPT + 4 others); Wed, 26 May 2021 09:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234854AbhEZNCk (ORCPT ); Wed, 26 May 2021 09:02:40 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91E3CC06134E for ; Wed, 26 May 2021 06:01:05 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id q5so1051538wrs.4 for ; Wed, 26 May 2021 06:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3jdajWMgqTEevQnjfYptjO2LrKj54lhAc8vIof71IVE=; b=QO85f8fSQ2woLVQ02nICRzFe1RXyo77E4GBSpDGDeLzwqyN2dWPu2dKJ1c/3QzqoVP pcYSovyiCXwGho+nvUEMJjxSJPvH+wI7l119e+1oRcY8Mwtsr3vad+x/DVEFX+3gdKts rC4qLro+xXDUpuaMU628QkULLoAAnwo+ywEiyg6ceCZWvPlbr74piwt+Yr4yECJB8rf1 U1/QLJPtl9+v8Z3IDXGHKopVs3iJrrg417eS/OutESgHmXAVbURlAsbKfwyR7RrkzOCx tCTBkONR6X1PCTbP3lf9ZTCZ4LUGXj+C/IPF1vBcPo/9SYYw2cPNnwCnEqnT1OqRaj65 IoDg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=3jdajWMgqTEevQnjfYptjO2LrKj54lhAc8vIof71IVE=; b=Tvt4iSA5Sv6Ws6B41wWcB/Z3XKTH7zdYo/HwGQQu1iNLig7uB+z6z0A9HFIXg2jqDi rCzWUT9Z7Ck++f73qbyIc5ml7HLtuYRLJ35T7H5hcCZ1qZgkDD1KRsI/kJFS97r22Lg9 FFguti3qOJuVv1bLJDKk41O2GWFv5zwfOfNB/F53lBrpyxdUl4al8TOozx9Dauhg7C09 Ut4ZBlC63NH0nxeQPIrJyZDgv2pQ8Zo+0CjMQO0rd+4/aUf63bjT+UsQ6sS/Y4qAUiQZ a0JVyUJUEPgJEdRdWooLWyOkjmlsLN/+yXNqqDuMTc2v8wFp1TpK/W4x0aDtkhjvRTWO 6p5g== X-Gm-Message-State: AOAM530h4c0jw7oeBXV2YlOzRVifIUf7/vkNqAc1kkm1fSHVg51UgBoH nQFiPdxweEsmwVGQQuS5O3qRlA== X-Received: by 2002:adf:f0ca:: with SMTP id x10mr33633781wro.40.1622034064188; Wed, 26 May 2021 06:01:04 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:03 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 17/24] usb: host: xhci: Remove unused variable 'len' Date: Wed, 26 May 2021 14:00:30 +0100 Message-Id: <20210526130037.856068-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/host/xhci.c: In function ‘xhci_unmap_temp_buf’: drivers/usb/host/xhci.c:1349:15: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/host/xhci.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.31.1 diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 27283654ca080..ac2a7d4288883 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1346,7 +1346,6 @@ static bool xhci_urb_temp_buffer_required(struct usb_hcd *hcd, static void xhci_unmap_temp_buf(struct usb_hcd *hcd, struct urb *urb) { - unsigned int len; unsigned int buf_len; enum dma_data_direction dir; @@ -1362,10 +1361,10 @@ static void xhci_unmap_temp_buf(struct usb_hcd *hcd, struct urb *urb) dir); if (usb_urb_dir_in(urb)) - len = sg_pcopy_from_buffer(urb->sg, urb->num_sgs, - urb->transfer_buffer, - buf_len, - 0); + sg_pcopy_from_buffer(urb->sg, urb->num_sgs, + urb->transfer_buffer, + buf_len, + 0); urb->transfer_flags &= ~URB_DMA_MAP_SINGLE; kfree(urb->transfer_buffer); From patchwork Wed May 26 13:00:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448197 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199176jac; Wed, 26 May 2021 06:01:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuVLQG6f1J7/TKY5hCa7UbbjHSPd5/0dm5mTIjgBFsIejpiRI9YLqOpIV4ISGxxLZGSh83 X-Received: by 2002:a17:906:e98:: with SMTP id p24mr33197840ejf.478.1622034097152; Wed, 26 May 2021 06:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034097; cv=none; d=google.com; s=arc-20160816; b=DqKvjHwx5hv5FcWkLKfxPojVHMKi+0xlHV6gw0wDk4drbPbpG/kYtuQF+8TO+pv/cX T9/aeR8mxyxdFm7nyWrZOkJRmHDhHt1ynk9mKgMe32Qck0rMbWrX6tqrRmm+Ezy2qeLJ 3ejhqeMNkMHARuO4YavGtRjntBGP/nVp7TTa+E4C7CUuYWr7EmRFmPpuTYGxjfqi8SLK SyfqqMYC8lcOIvJ6P4JQWn3wXVky8OuAeMPy77Y9Gbmmpkqqjf7ryflc5NIuxIoO5kHe oRBR0sDqZ/c0cYYEU4P/ARNyJ4bVj59SccJ+XxKOmc1RX38aJfp0BmSL8xLVqU7RFHvH o7fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4ynJxnpUACagJ1PRG8av2gZwk6Q/EIQ9VI4Cq/HwLkQ=; b=HynKLitMCNflhcI9iZRkix2lajzRUXjpeo/T3WRgmaMS51EsPakrmPLmPrAg5ou5HP 9FO5jtlJmLLGExUlsPs1r4AxPnHxp/hj9WT7YxGxAPoS6RcaPQNmIAIHSg0L8I7cr5Zz Tk9bIAe9UEpC/Dff93Zq3axczBCsjJvTJUbD/I65JUi28m8VGCLekGg/Ka9wCAi3/XKn GQ7gQDBxiVDJ4b8yRNVZ+C05hhj/nc4X0+ZG+YKVmgjLDve68kpmIyQjWoifrbaGh0JS 78XuYhJazOM9uwO0QzJjBBZS+MoIWTFcxl0M9UUKyiwvKHknd/7vGkEFQNyoVmtXW3tx 310g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ssYLQUB5; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si6688603edc.226.2021.05.26.06.01.36; Wed, 26 May 2021 06:01:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ssYLQUB5; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235041AbhEZNDG (ORCPT + 4 others); Wed, 26 May 2021 09:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234862AbhEZNCl (ORCPT ); Wed, 26 May 2021 09:02:41 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4859DC061350 for ; Wed, 26 May 2021 06:01:06 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id r12so1065012wrp.1 for ; Wed, 26 May 2021 06:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4ynJxnpUACagJ1PRG8av2gZwk6Q/EIQ9VI4Cq/HwLkQ=; b=ssYLQUB5UqpTDXgRfJyhf7QESK8IsqWzk/9Xtmno5Z9IXAt0z9CnK0I0uKbGZImCPQ WGJYk4caiZtR4cpemwfokceEgKL8EUOOHGCM1AIdhWdJ7JsSlmOheI2bV6McMo/3Ilzv nCqLTQxWZ6CDHMiOXceCjXD26rriaWrQAdZW5RtyZPfFGCaSkMUv009h+rdhY04apvCv vyxr9dTYEEo3R4M9UwsTxySdqvWFiEjYkrV/orKQ9encuOW/1wiFAR8b3Oq3BFyoTzY7 wSQDO6PsmWO2DZvHSLDnZyJxF9Ari56Hs62n0x+z24VdBOHWYnU+GAgsLCLM+BKb8edb KUTg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4ynJxnpUACagJ1PRG8av2gZwk6Q/EIQ9VI4Cq/HwLkQ=; b=IKS0XUClAU+jZzBzuznIzbEu+VsWgeafzXTs94W/k+z5nOyaIBYuLr11SLsLGoRqWu M+kIp2CBWD0vonopUWZ5EdtBuXYkCw6/vRoEe0vlMu9F36amXITEsX0KY+pgSsKloQPb Rs1JDmViBkvWQ6eNbIbltO822nnahuodgPLHDbbEl+o8zRzyYjc3g6xou/nOgImiXnoB stk/tY1CKNMvE+YphySPsk2jyXqWl8Cd0pAZsE9G39F7L09QfKodcEKw+RFWBsQQX6+X ksvHUcDT0VPL+a2j/N3/iOUk1XibiIOyH62W+TWsDPS6tG9G9TQWkJBxU7L1KhRc7vpa sZow== X-Gm-Message-State: AOAM530NCDiq3YMXRqmuwz9SkSQfrahmUsGIYVKwueYZW4sVyab/4zAL 4Za4HUcnOeLMggtsc6V1ZaxUxw== X-Received: by 2002:adf:ee86:: with SMTP id b6mr25972174wro.53.1622034065270; Wed, 26 May 2021 06:01:05 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:04 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Daniel Mack , Haojian Zhuang , Robert Jarzmik , Felipe Balbi , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: [PATCH 18/24] usb: gadget: udc: pxa27x_udc: Fix documentation for 'pxa27x_udc_start()' Date: Wed, 26 May 2021 14:00:31 +0100 Message-Id: <20210526130037.856068-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/udc/pxa27x_udc.c:1749: warning: expecting prototype for pxa27x_start(). Prototype was for pxa27x_udc_start() instead Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Daniel Mack diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c index ce57961dfd2d6..b2759b04b8e94 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.c +++ b/drivers/usb/gadget/udc/pxa27x_udc.c @@ -1730,7 +1730,7 @@ static void udc_enable(struct pxa_udc *udc) } /** - * pxa27x_start - Register gadget driver + * pxa27x_udc_start - Register gadget driver * @g: gadget * @driver: gadget driver * From patchwork Wed May 26 13:00:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448198 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199264jac; Wed, 26 May 2021 06:01:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaDJVBUAYlYbI6bATPDIu7k+30c8dspGgImnUkNW9/I7l1spPZq1msgsQIgu9Q6v7hlizy X-Received: by 2002:a17:906:4088:: with SMTP id u8mr32973754ejj.240.1622034101774; Wed, 26 May 2021 06:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034101; cv=none; d=google.com; s=arc-20160816; b=C210A9KU/BZEi37eBGvh3xH6QYTOU3xEmY28OcOWKQ5U1qpJK0CjtumRgH1SFFhZFF q35KMjMAm8NfAaV6K5Ejzs4JIaRX8c5l+wFo6nsF/GOX7+fRlyw6BwWMAw/K4wLkKE9r N5RvsgWd8COatlK8Qc6W/sezYb66zEtzs672siPt394zksDzFGqsQkRv3rOy3B298JmY 9lOOETuN5p63zfUzPxZp/a1b+80lWdfqCZrXitTRj9wtaEvYmUSLVTKHLB6IyRkVdgsv bC4WdEqXhJYuw5Puuva3Z9g3xuJcwyQQwRCnUQ2L9i8i0d06Gzkbbdroqm2Zd2Fn9ZrJ R8VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=m9uRGGn4SyJ70hyc2RlXeNh3Qz9l0Nrupn8MpvlN6Uc/pWbhZP072oNC7XP54vDBK9 ZKTAhHhHKHFBzYblbQ4Y1wkNmVLQ1vVQ8aMhmQFmWmHCCLMGY/xruyQtunaZ4vuYR4wo q7fFARErM52tJdKFS6NXqB96sYKCD9ZqwF+uuDAG583QOmisFzn5q+rv5LMuUcJFUM3d 7ie4S54dZalyqhc6iS7q5G6dm2DrRmS+1Bge6nc9fH23VSf0cYevzKK4on9zsbYd0spV ez74S1Fx/1Gw4CTbHuz3McYcKRo89Tip/HBh4V9XxVA8jZUF6TKMSrrD+azQh67TRMeM aqGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF82RN24; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si20452093ejj.467.2021.05.26.06.01.41; Wed, 26 May 2021 06:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QF82RN24; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235131AbhEZNDJ (ORCPT + 4 others); Wed, 26 May 2021 09:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235000AbhEZNCn (ORCPT ); Wed, 26 May 2021 09:02:43 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7251CC061352 for ; Wed, 26 May 2021 06:01:07 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id p7so1021925wru.10 for ; Wed, 26 May 2021 06:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=QF82RN242X5HtKAatNgT/qgGfUpO25QtmvdltzP3FsDkyUtjq2GV86LhSpzIPW2y4N Z9QP2HWF0uXip3AGH/WZfptwQAE/f1DSS7cs9jtV5xYofb9wXy/8iF9RfgFjIjxE8k8p Ug9kZLmO6QzFwFVh+50D7spVdYi9omwh0HympLkeNf2LU1Qf1dy3+TzL9GDfXESuYGGj UFAYZcQCZwVNNiSPHHY2b25aqxwk8RQQBVYxDnSCP0bFGumy9RfTPdAanPp/rEm/pn6d zo3DOTHllQEq94N40s3KVmw+WnOq2dbEL7Itx3OZbxrJ/4NV0PNQ4j3wnPGmsb5mg0xA gZiQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=SstsYYHlOJNFxJcFIIyoQziYm6AwfAPQpEUk2TCe0GU=; b=eOSpU/9DPg42kxIwkUPp1r3qkSms+TLFvTogz3cOXE+aNwnfObXfUgtpEg4DfFrM9v 5ZOhnlJ8B1pGP2mcTwLq5ZaNAIvzxf1bM6351fbFrbFCBYRzEqMmBDn8OvOkKOhNwfkF ywjqWO9f1FJR8VxVm7MRHtXX6neU5TA8OysFHpvOZ9fzdkDt5Xs/T+hj9mNb5mjb/MnB 5G0j1Zs8FQOC/eBXzVQt1cenGb1/DZ6li6cDS1AuXmNYFwEL7Jv4VlAewNLWLIftvs94 Jtzhd4VtTLXjL1x5zwQ5oa1wl1lB87gohIE8E68vtge9T1lUklGq0XvCW/lN8nwgL1Ta zFSg== X-Gm-Message-State: AOAM532aKOMjReyPwi4CkhpZTyc21kVerq0njPESMtR241CKfGhHCbir MgcYYbOrxx8OtE8aVLGmMQg6hQ== X-Received: by 2002:a5d:4b08:: with SMTP id v8mr33135582wrq.122.1622034066371; Wed, 26 May 2021 06:01:06 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:05 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Felipe Balbi , Greg Kroah-Hartman , Michal Simek , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 19/24] usb: gadget: udc: udc-xilinx: Place correct function names into the headers Date: Wed, 26 May 2021 14:00:32 +0100 Message-Id: <20210526130037.856068-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/gadget/udc/udc-xilinx.c:802: warning: expecting prototype for xudc_ep_enable(). Prototype was for __xudc_ep_enable() instead drivers/usb/gadget/udc/udc-xilinx.c:997: warning: expecting prototype for xudc_ep0_queue(). Prototype was for __xudc_ep0_queue() instead Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: Michal Simek Cc: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/usb/gadget/udc/udc-xilinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index 72f2ea062d554..fb4ffedd6f0dd 100644 --- a/drivers/usb/gadget/udc/udc-xilinx.c +++ b/drivers/usb/gadget/udc/udc-xilinx.c @@ -791,7 +791,7 @@ static int xudc_ep_set_halt(struct usb_ep *_ep, int value) } /** - * xudc_ep_enable - Enables the given endpoint. + * __xudc_ep_enable - Enables the given endpoint. * @ep: pointer to the xusb endpoint structure. * @desc: pointer to usb endpoint descriptor. * @@ -987,7 +987,7 @@ static void xudc_free_request(struct usb_ep *_ep, struct usb_request *_req) } /** - * xudc_ep0_queue - Adds the request to endpoint 0 queue. + * __xudc_ep0_queue - Adds the request to endpoint 0 queue. * @ep0: pointer to the xusb endpoint 0 structure. * @req: pointer to the xusb request structure. * From patchwork Wed May 26 13:00:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448199 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199305jac; Wed, 26 May 2021 06:01:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySDSec8+R0NdzpXfuVEDrRVDXJs37VHZldHe6Z6+55J26qCipX6ZWNFEdFLucD83tn+tPP X-Received: by 2002:a05:6402:2714:: with SMTP id y20mr37055544edd.348.1622034103428; Wed, 26 May 2021 06:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034103; cv=none; d=google.com; s=arc-20160816; b=IauezMY9L5pjJbSFKTJ/OvRvuUvT4Poi6HcZbFZVT5SRx9p5WzCcuirY6N9UkfrMjZ 2wqurQdaS0FnnphybYyl4MDbufq3tSyE04Q9fy8DfRkB90r7dkLz0ManvgC0aVLySbfg XLgX7YLQHfMD2WzSlL5Q7fzvnDBaABRzDDq7b20HU9JmtKoIiv+VpO+xQZiHT8/0Oq+N bHajDCPwFxNtXlZZbhzCOBj57r1tB89LyJRd/ueF397XmwtLJLfd9Q/ClTIR2SF2Shmb KVSJueGe3UtnzxTVMQgvl/6oBRgwNwS9OEd52wB5qnopF1EhSuDZPy8CaOBJL3pY4zoV hYfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o36LW+hTNNsqoigEuNG+wNAHEgSOlM2c2v5gTuumT6A=; b=Zc+FPqsMSNgCBaFz1mhsLsCNYGRTqPATK9ol9GuN9WU/mHSIC8keDQ8d4iEhHp04OW IT3x6RRRAVuplxJda5TkEWy/cyTKzFhFMzV2Uwp92o8ZKecl9jSR2mvicdTt26UgJpUp ENVgsFn58ImiL9x4LzrDGlFjvfTDN65NZHb8rmfrktbQVX8q7Fk5PVDP4AVffYQugMGD iLiV/Cg5bccA233rRZxGk8oOrojKRN5KBFsJBACcmDp7L/l5er0wM0rR2jxI5xpq3xJi 8iQcwRrYDPfWZ5xT7k+ntgDsVseVU8Ut2JuCixkevj4ywufHy6rVkh2gfG3u2CbDbOGa 5Bmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fe2q372U; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si20452093ejj.467.2021.05.26.06.01.43; Wed, 26 May 2021 06:01:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fe2q372U; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235137AbhEZNDK (ORCPT + 4 others); Wed, 26 May 2021 09:03:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235006AbhEZNCo (ORCPT ); Wed, 26 May 2021 09:02:44 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44575C061345 for ; Wed, 26 May 2021 06:01:09 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id g17so816760wrs.13 for ; Wed, 26 May 2021 06:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o36LW+hTNNsqoigEuNG+wNAHEgSOlM2c2v5gTuumT6A=; b=fe2q372U1NRt7LxZBrrrBiv/0gEAOAmRpODo8k5VMyG+7Xr4MOjtWdZImmZUg1V/XC /2m2FX+GOzkufz6Qo1w24rzpKoUKlSdGx9fstG2I301jTVu3AIFKSWCF2v+bmkX3asMj kYPUmLrcwYKMnZ0zr5XBYa7O5z5VK7WF+3Zh1tA1hlGfqWk+sfewoqGPPtYPuyDZQ3l6 17uUYjqAou5k7d3/ZAKRusc2BvK1gP7yhS0onSbQ1flstx71443M4wDOQL975US7ZIAL YmdOLO4A379l9SyE7RtPrAAZOkkQpFqUhIFdPCrBUG63sVhtquhzlBq8XC0M2rL18dE/ M6LQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=o36LW+hTNNsqoigEuNG+wNAHEgSOlM2c2v5gTuumT6A=; b=Qe+TtX3dRCqp5fOCb1/2HF6pjvEXvEEgTXIq6Mmu4FLcjq53AO8/CysDu/1R6bU371 ZMXu5tGcfUYkD9HHHV6LuebgR+2lwFvy9eO+/o2BC+O4JVL2zXXTwmsGm1A9s+DEX+Ii xj7npbJq43CEI0KL7OUwa1a1wqn7EUuvYWQHmqNYOSkU0n6KR+++9USgEDfrkWGT7Idt smIoAuRmSdIOT4vUrJ0jY6FoD6h65gc8+SgHnKG9DKl/wCt2fHF7YQ8mcb4P7Q5UXSwY hv9EUFyvJHwk4gL+hglMKug0H3/PiDjgS9d3svFV5dldIKoX2sqZ97FZXP2v7qACUaHY yKMQ== X-Gm-Message-State: AOAM532isEB91YK3shYChSSZZCGOyflziQQ2hCM2W+pQyqZtVqndgz3f R7/ES8WjLKHNxKS3zAp9TSsbgw== X-Received: by 2002:a5d:4246:: with SMTP id s6mr29164312wrr.9.1622034067391; Wed, 26 May 2021 06:01:07 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:06 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Pawel Jez , linux-usb@vger.kernel.org Subject: [PATCH 20/24] usb: cdns3: cdns3-gadget: Provide correct function naming for '__cdns3_gadget_ep_queue()' Date: Wed, 26 May 2021 14:00:33 +0100 Message-Id: <20210526130037.856068-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdns3-gadget.c:2499: warning: expecting prototype for cdns3_gadget_ep_queue(). Prototype was for __cdns3_gadget_ep_queue() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: Pawel Jez Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdns3-gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdns3-gadget.c b/drivers/usb/cdns3/cdns3-gadget.c index 54fa429fae777..57adcdbfab5f6 100644 --- a/drivers/usb/cdns3/cdns3-gadget.c +++ b/drivers/usb/cdns3/cdns3-gadget.c @@ -2486,7 +2486,7 @@ static int cdns3_gadget_ep_disable(struct usb_ep *ep) } /** - * cdns3_gadget_ep_queue - Transfer data on endpoint + * __cdns3_gadget_ep_queue - Transfer data on endpoint * @ep: endpoint object * @request: request object * @gfp_flags: gfp flags From patchwork Wed May 26 13:00:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448201 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199437jac; Wed, 26 May 2021 06:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlUpCpThai41ZC/9krU9biaafYzvO2xoFt+XovgEEx7IMV5N9hdM64+eJfLFOzQiZxzCnL X-Received: by 2002:a17:906:f894:: with SMTP id lg20mr33523860ejb.355.1622034104428; Wed, 26 May 2021 06:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034104; cv=none; d=google.com; s=arc-20160816; b=l/mUmysdP94qGxpvO+kQe3OzkUPlPn4xFPU5hx5WJeYfMhvF36E+yXFinjg5X7Q5R+ H2K0baOYDy/Jse3TImSIYzX4Iv/TwAEQlxywcdpjiyG1e4BAywKojJD1mudSiW4wfXal rt6gDMjjRXSY6dZFPSPDaoLMAa411REAvgILHw9NtChJtAsen8DbgzjKWkeKMpoHIAFp 0e8F2EDMjNV9is4n+Q4/RMXkH1DNKuk8lRDJRBY4ClG8He9bTQwzuh5PK7z9ex/BKwQG FxKb+eUSfTfPr6G/tSwY6C+SONoQwcOAa4ED5hTYXAl9ipuyZK1+1ODn2E+yYx3sjx8z 3ynw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Jb3Z8YQiJXIHCxHdQR6bpLMBiPX+oY6Ogmx9bytHFZg=; b=OXJ800R97/tpaM8EiCMISL8j3fOVzpJMHgaheMoR0O2HaZmFqStiPosJBENOz0dX/U r5FUjyOEyqcrmVq7p5qXobCoEsu/y47g0NU4LIr6oPmwPaRXNPQC3P6GmaBKIHjNa4EN 7wbFfW30cEEv7z0TeVF0XoDhMj0lKWuPqAQ1YdaNxYrVFGrX7bcGGo/n4kgokwIC0vmK Zs25a1QoIpajk9YrVO58z+9JKf4C4IlZtjlCEr2HL1kKTpl18eGsx2mr78AhXV87WWRs oqAsp/gxww7GHS9h15wT1KsB6H6RFh+FizH3+/FKs9F1RyHjpndWV0IIPTwFElgUMDgF jHmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvVo2ect; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si20452093ejj.467.2021.05.26.06.01.44; Wed, 26 May 2021 06:01:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EvVo2ect; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235152AbhEZNDM (ORCPT + 4 others); Wed, 26 May 2021 09:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235009AbhEZNCo (ORCPT ); Wed, 26 May 2021 09:02:44 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCAB8C061354 for ; Wed, 26 May 2021 06:01:09 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id g17so816835wrs.13 for ; Wed, 26 May 2021 06:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Jb3Z8YQiJXIHCxHdQR6bpLMBiPX+oY6Ogmx9bytHFZg=; b=EvVo2ectQ9owwKk7Y/bcDbUANdvrdyNy+Bo8qjqFPN3hp+p5tqnmM/ZTHRFkAxmnLu zRMLaMQaC8SRDnvDEnogMxECQqs4qqg6IYn2DvCApUTGlZ3affwRK6s5AOy9sMM3AWte iXZ3pJunIwEEVyZQSm2oZhCHBv/zx7xUE/R+L8mncIao6jvSe9AQD7J+JsnodmxYm7BK usoRyCRnDUAzPd/R5rD804KwHEkiFOEehttu9iGTfu0cNC6WInb59jHRQ6lFg6GnYjIg Pr/0mkTZVVctHsLZaF/mhred28d73fN41aOlzBh84Fy4MTTXJ06KHKe7CZ6loLEUV8Qt KoWQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Jb3Z8YQiJXIHCxHdQR6bpLMBiPX+oY6Ogmx9bytHFZg=; b=UGLK5n44yTPODnv/fWN40lTg/7ZHwu7kHnEJp+ZNQyHsFGPf2eMFWM9ZkB88H2EtS0 pwc3FF+TRw8fYPtjNeBBcFO6etR/Yn4fOL82jCZFPwbN4TnPGF05l14HnSSwq06Busn4 IRU5TS1F8V61/mgdc2Q8Z2TDDcLR+uV1Yh6Bz3o/brdn+SowLljaFbq0lR/n9hhi8I1p 4LY0JG4UPfC467oJ3jl4mQE8NqUwmzuFrT7iiKILztgWAPJOPSti8EDh1OPJC2DB2k3r jgYXS25T+X5KlhZTeh3iwAtUJD1xXw57dF/TN5fl+hxyyeP9WxXQXWW3PEyyM3ug8z58 vggg== X-Gm-Message-State: AOAM533L8y76qQ8EvztFxQBAiOYWrsh5PP/l3M3E8tBtAbqd2AlF6ELI 655rGVwgqSpcK4ECug7IUo1O/Q== X-Received: by 2002:adf:e411:: with SMTP id g17mr32218603wrm.402.1622034068386; Wed, 26 May 2021 06:01:08 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:07 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 21/24] usb: host: xhci: Move array of structs from the stack onto the heap Date: Wed, 26 May 2021 14:00:34 +0100 Message-Id: <20210526130037.856068-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/host/xhci.c: In function ‘xhci_reserve_bandwidth’: drivers/usb/host/xhci.c:2859:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/host/xhci.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index ac2a7d4288883..40ce4b4eb12ad 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -2773,7 +2773,7 @@ static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct xhci_container_ctx *in_ctx) { - struct xhci_bw_info ep_bw_info[31]; + struct xhci_bw_info *ep_bw_info; int i; struct xhci_input_control_ctx *ctrl_ctx; int old_active_eps = 0; @@ -2788,6 +2788,10 @@ static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, return -ENOMEM; } + ep_bw_info = kzalloc(sizeof(*ep_bw_info) * 31, GFP_KERNEL); + if (!ep_bw_info) + return -ENOMEM; + for (i = 0; i < 31; i++) { if (!EP_IS_ADDED(ctrl_ctx, i) && !EP_IS_DROPPED(ctrl_ctx, i)) continue; @@ -2824,6 +2828,7 @@ static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, * Update the number of active TTs. */ xhci_update_tt_active_eps(xhci, virt_dev, old_active_eps); + kfree(ep_bw_info); return 0; } @@ -2855,6 +2860,7 @@ static int xhci_reserve_bandwidth(struct xhci_hcd *xhci, &virt_dev->eps[i], virt_dev->tt_info); } + kfree(ep_bw_info); return -ENOMEM; } From patchwork Wed May 26 13:00:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448200 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199318jac; Wed, 26 May 2021 06:01:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBjD2W6IXD/uxR1/BWUw3QfAl2H8/J47jZNIDbSx+yB6rlYQMcJHzWNXmiPztIa++QMCQg X-Received: by 2002:aa7:cb90:: with SMTP id r16mr37664212edt.247.1622034103843; Wed, 26 May 2021 06:01:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034103; cv=none; d=google.com; s=arc-20160816; b=AgN/3bgorzQ36AMTosr6ienmxeO/3UzS1y7pE5ku/7U1rQ0Md8AeeVFj5wFGIc6SKH jODNnpls41vzR72ZcP2f+IPekI9iF5ibyOr64z85zafli+S8zIC46VpikR5OH9nDLRYc Ryh2yX9VszT8N8+/czTiNf2UMg0RJ3s5LUGX/GRSMl3JVxyeEys4I/y1+sPFyBqBPCfj TnxlQrUz5wULH7WcQvCvnTXCH3q3qPKcMaJUcQwpVOb1bs08MrJzdHEGJ2VUyJ3XQw2l oBQpJMohRpka/YmyrmG/nVmbDnKY6YJqTKTz7rGFuUThl8jc6RM2KiGWbxjFl7wQJKXQ W4zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=FlEMIknKvsidZ/0GBXYIF1sapXja6BBk4O3GCdmZuU4xa7qEkSm+7Vwj54zaCZLs1s ODOkE5KnWyYlUepzXfEb/080R04HWSE05h/fDnOwVC1obf8XWWWyK64mBDCHyxG5WroU VdpLrXrp2Y9reuCO0Q0xBL9xgZhfepwMBTL/ZruzvKoxUW5HjNgvkbcax/BjIckydL52 rkddiCzgHTIDIoTqrVGpVQF0yPDDYea45Mo3gYV4/x7ksVRkt39whRLHVHQsRRCPmrga SWw3xDOkKkcOAXXlWsJnPZ19VmL5OX3kw4le1VHVBcxLPx6TQLtzVXLWqG/hhjd51ZaQ u3zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bnjcSmFQ; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si20452093ejj.467.2021.05.26.06.01.43; Wed, 26 May 2021 06:01:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bnjcSmFQ; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235146AbhEZNDL (ORCPT + 4 others); Wed, 26 May 2021 09:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235008AbhEZNCo (ORCPT ); Wed, 26 May 2021 09:02:44 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91568C061346 for ; Wed, 26 May 2021 06:01:10 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id n2so1109986wrm.0 for ; Wed, 26 May 2021 06:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=bnjcSmFQOnzl2lNbk/am+nyD7cQvcvfgS+Sx/AaVCXefBJ113iOMCnRSumhjEoFxxi +vWmddFD5J+aSHc7dfIyjkTBP4PjK70itrF9GGHI0JDdtN9+C2ugDJZm3miTuc6UWKZu jkHa1oS6BKsQ6eoQ4opfRQIxo8Wi711cZ5QbinNBG9n2khSMFrUMml6K2NG4FTVJczp3 a4Yjqa1Az8PhaQbyf+L+YBM6Tz/a7MeVVEmBk+2jFjrMiToDIEs5ic/UPvGBpBof3a1U PHz+4NilOwlYsfzu62F+TxpSNFVN6ZQ3oNSzmZd/wMZryi35H2pyCqLs5NICtIvCG/7N 40mg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=jLekqI4415ZLZiPrFAu/LSNK5VAALO2aLroNRGnVCxzrGq4xgcVFz9UkcY+jvrvSxT XqzlgdgiaqF2heSlhLHBfwIehwBrGa4vR0dV7HbAC92hGIveNnN+S714Qx9qMP/N2INi Xp0ry3KEGX05CfxUxaV+WHG+/L6hGVAMRZI/MOHfDWSHicMMkGwumGauUA7UD+3hPgVq ti9Rk0MxYZpvU906r/J+pT0/PqkaRFG1v3rPiSk1bANJwhyKz2KsgqqOCCD4ZuEG3aMX Iohe/SAuM3yMEIkeMgfz8f7OK5A1Kbxg89ohvqbFXNibL2peROmZjk4Gk0YqDuvzYWrA 3U4w== X-Gm-Message-State: AOAM533tF8oZ1fRDDqLWzubG0M5VziKY4A19iAKW5ZeiMJRmFd4CBv3U MV6Gdu2EjzkQ+QoYl2PRSt9qnw== X-Received: by 2002:a5d:690b:: with SMTP id t11mr30464981wru.250.1622034069220; Wed, 26 May 2021 06:01:09 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:08 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 22/24] usb: host: xhci: Document xhci_get_endpoint_index()'s 'desc' param Date: Wed, 26 May 2021 14:00:35 +0100 Message-Id: <20210526130037.856068-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/host/xhci.c:1424: warning: Function parameter or member 'desc' not described in 'xhci_get_endpoint_index' Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/host/xhci.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 40ce4b4eb12ad..094b2bf1e2657 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1415,6 +1415,8 @@ static void xhci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) * HCDs. Find the index for an endpoint given its descriptor. Use the return * value to right shift 1 for the bitmask. * + * @desc: USB endpoint descriptor + * * Index = (epnum * 2) + direction - 1, * where direction = 0 for OUT, 1 for IN. * For control endpoints, the IN index is used (OUT index is unused), so From patchwork Wed May 26 13:00:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448203 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199970jac; Wed, 26 May 2021 06:02:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAg2KtubW7CJgYh2UUMBbVimf0WHUS9PQqzuGQOHftf1nAYBvtB7BWmN22MxUtiK1FBCbL X-Received: by 2002:a05:6638:10c4:: with SMTP id q4mr3061300jad.29.1622034134671; Wed, 26 May 2021 06:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034134; cv=none; d=google.com; s=arc-20160816; b=qF3/NXwfZN7e/5kfjgZV4vi54Ov6gb7qsrm4rPtS2kTaRIok8C4PbR3Fg6gXPO2JIL uALL+TC/7D98pV5qjfClo2jLl6Nls12thRSY6OOVhx6oVJqe0a6DaMtfpKB9CUzblr4K 5tnjakHZlA5j68j//OBjMYM0iSUIqVnCHE3oJm/erUL8jypMHD9iZkAzcbWtbfU8creE hYqlJdwixw4lnHiPlRJRCCCVM02kOYIOok9v+H7oKUPFu/bl6SjbelM+0RcpRZCKoHBN HPsbFDPcbmjzBiAHuAMwqSfzS41vfysNG2xsbPzPYDz4h4UERzmXosPSeTPeTgpl+A1a 26nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cGzahBpLEkJs6oZe4mNp3mvwJgOmicM2cMLMMCwYL4g=; b=otbujMwZ5RDBrYU7jl2QXOGnTTKLovOEnuT1Kxf8F7zH03pAW+scNiHywhkUflMU4P SWUSFQuKfaKaAyOSViaZ7Hf/8r9SIHW5M3/iYiT7ydvzn+iJgCJDhgaSAhZNofdEbxlG rgr0yEdVzNNdalTE+wW4g/gMABW3mCtZT852vaYwItXdzN7oeH8MoBlOR8gi5L4pK3dz NhXl+DijeK1OU/zP1CsNJta+LtH0WQbBcrPTJnp73hB4pIv7+CtBmPSIbBlQ55/iaoBj qPlOa16CXiWV9XUEm4roe3P+SLkNZKE70qod2QEuT8xUAJHh18AqlSJSA/7zWOCCZyKh X2pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yam8GwP7; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si18960729edm.203.2021.05.26.06.02.14; Wed, 26 May 2021 06:02:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yam8GwP7; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234845AbhEZNDh (ORCPT + 4 others); Wed, 26 May 2021 09:03:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234241AbhEZNCx (ORCPT ); Wed, 26 May 2021 09:02:53 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B656C061761 for ; Wed, 26 May 2021 06:01:11 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id x7so1010958wrt.12 for ; Wed, 26 May 2021 06:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cGzahBpLEkJs6oZe4mNp3mvwJgOmicM2cMLMMCwYL4g=; b=yam8GwP7QTeHhfBYhOdOLuE1Jf3uV2AJdjLfV1E6+j6aOIGfwlV6tumQBSzZYgAwBy ++9ukiLXIjBmG303RbQ5JPhp25W7NTAP9w1C0sZQ7KoZOxFgx9/2m8wmnAs6k9Bjjebu b5usB0K3hA06yhvPxkysJtN6zRIqEEuIKtxrS1kxvQDDnJy0lGTabWNY+aUMk+bxGQJa ZIhyd+ODOKaPgLC9mTBSfnBS5JdFlAZI4XIDaCst7DezlfDgY3eejnSNMFbBcDwzzF8H eEOdXj/KECQIG/SqqldKc1Mvk9z9c3ddvGmCYQwGgd/YRUKVMnUtAkBhBumbAtHKAh4z alTQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=cGzahBpLEkJs6oZe4mNp3mvwJgOmicM2cMLMMCwYL4g=; b=G8/3pWF+kUlO+KoCxTaNu9ILVnKdy+RjqmBKo8ZLnhWoihVaXM8q2/c4tfQu0pBrQ3 Ma7lo4jS0fHQRSWdS/f9F4XRINHH1+CvLE6IXEmQP43sWznT5rT0f8C6MFzwHjI/cCxe oONKhW274hGWgMHHI9h6z/KrBIX+94PaZIHjla9uQvZKRlWK+Y8arjorLVW78ApJNuT1 Dyo5eUF52y3NUZsUj/0HKbjvwbh6lBTk2TtYfJ5I3JiMsrcObx7KZGAdOkVvrC6yacCm 8l3J8Hwc+6X859rgB+1U66Sk+NmPOi8l+CQxNVltZTn+mU/wftp2K0g94F3kV57aRtnp uavw== X-Gm-Message-State: AOAM530UkXI4lA6rNrl3fGQ9pCFKjtZph2Zw1lTiAgiDScsiG89jOeAt j9vsxHK04FkKVzLLj1/gpgm1Tw== X-Received: by 2002:a5d:6acd:: with SMTP id u13mr2896072wrw.272.1622034070292; Wed, 26 May 2021 06:01:10 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pawel Laszczak , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 23/24] usb: cdns3: cdnsp-gadget: Provide function name for 'cdnsp_find_next_ext_cap()' Date: Wed, 26 May 2021 14:00:36 +0100 Message-Id: <20210526130037.856068-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/cdnsp-gadget.c:59: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Pawel Laszczak Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/cdnsp-gadget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/usb/cdns3/cdnsp-gadget.c b/drivers/usb/cdns3/cdnsp-gadget.c index 47e5795898ccb..c23f53e9b1efe 100644 --- a/drivers/usb/cdns3/cdnsp-gadget.c +++ b/drivers/usb/cdns3/cdnsp-gadget.c @@ -56,7 +56,8 @@ u32 cdnsp_port_state_to_neutral(u32 state) } /** - * Find the offset of the extended capabilities with capability ID id. + * cdnsp_find_next_ext_cap - Find the offset of the extended capabilities + * with capability ID id. * @base: PCI MMIO registers base address. * @start: Address at which to start looking, (0 or HCC_PARAMS to start at * beginning of list) From patchwork Wed May 26 13:00:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448202 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5199827jac; Wed, 26 May 2021 06:02:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/sHfXyB9v8VOVvqk/uRVSwKy2tNavq6qTzgAdNw+vNNuZJVllIfYzR8lc0JgD3jgLw9Kp X-Received: by 2002:a2e:5051:: with SMTP id v17mr2202542ljd.140.1622034126831; Wed, 26 May 2021 06:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622034126; cv=none; d=google.com; s=arc-20160816; b=ZxAEMWuPx4FCQGynooA1hYqH78x2wy3gmBViviESgrExoPNqZ3L6sRH3KFkma4gbYM jXUA/rWeVi8/nYjBWtulLcU6v69e0CMm1O03sjWIu5/Jj96PQyhHM37NUj9twK0u9ddd NUNb1Brmj93LwqTI7Pm4nt9o8UDD2xxoiOLICLvOjP9GOlKRjgC0HNlksz2ukO6cThOV YVF2z+XVfB0xHztz+++KCrfxVNxLSRhjFULW0NfgWaoZQ7de6YnoxrbFUsb7++gmSIfe BNV6OG4cANtpGXBWdQd9V5pWb49MOdhM4bdWI5+VtXG3AklS3VRLNMg1eizNn/u3NOYV SBpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=DLehjKIxtfMP+T52BqYT4pRSnj1lHLcNPRkO0HXbFVlaYFyJzA74A0uj8IOz6Mdnnr r52dpIpH+RiwZ+o9RGV7Z7i5gAoalSUBx3GRqn/DulfyTy8A3bM5xbuRgTSkPFKbwC7F eid0b2zIiuTwY/QWXS+816NRQdvEdQn7F4fYutdpVWenwiKHXGPsj5o+/ITcDF1VxYuk TJqs3TIJrrYIpOE/2+6IUkGf88/K9I+7yul0O3u4LyMlkC2lgHAvXhLkqB7I7lokY6xq DhgUppVGTgj1XiHNdeNDl87SbzUU7oLngXUAm3YBCxMVRr0jxU5Mhgb6WCdGmdjU3E8f hYNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwcQu0HY; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kd16si18789248ejc.373.2021.05.26.06.02.06; Wed, 26 May 2021 06:02:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gwcQu0HY; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235220AbhEZNDe (ORCPT + 4 others); Wed, 26 May 2021 09:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235069AbhEZNCw (ORCPT ); Wed, 26 May 2021 09:02:52 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6ADAC061574 for ; Wed, 26 May 2021 06:01:12 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id m18so1071703wrv.2 for ; Wed, 26 May 2021 06:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=gwcQu0HYZp6Q9nuqOI1PH7zqKZF34NqRTAlK8sF1ZlUediO7Mz58Pykew+9wi7LVIM 2miaYwPZHVK/1WT+2w0M1KBIm3vtZ8/movIRvoWST+Uexoyo7sb422yijgENtbMthPQB LuEkxcmrZI4o+fxvRRFTrOP9lG62QdTuMPw6UwlZZ8Tn8M4Qsyuov0Qo87YGcFCvJEgG Safp42bDmyqFPuhSpJPPTAsD8NGc2AuId+CPGXKx5YCRr1gj3V53xD+yY3cappc0oAne fhKpCTuJ00DkVf/ilt/FHdPCcP79jP+cYX6MdtTdU9weUIIuEargeyDLL+Lwj3ZvbyXo bGqA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=BV2wtRRLMxAa81oGx1tmOdPw4Mr1oYrs9/D1IvLhHvs=; b=kjcXUl2U63F4xQYTeFvslkFKpBOM4Drpzlvez5fpgqZgT/J+dHP1sZW+vCJZ+JRUHF GlUGThhltH2upoxBTrTFzxSPQTabGguteWCTjA7iwJGgoAGFV86Gyd8BuTk/N1XkNC3S CpQLnGw/F/iOXjSiOypOCSryWghKBHQdXRIBEf8a3pFNQOpI7LpwaGrLn+SEPaEZsHjj q4Dy9ksVc/+kwIxrLZSDGF5fdWS/EPhcf8i0XmsRXqGce55TYdh4YVul8r8yMPXUSwUd dz58lpNkdZonKaRLS/+NMiLLX6kyuMnBrC9xcJI6KPeiqFUHRz30n87xeMYCM26v/bEx PcfQ== X-Gm-Message-State: AOAM531xn5GO1eRHPAyoQ21HLqRYgLrOjGqvBk32+PGoyUbmkuiejP9v +FMBOMI8PHGnYs5TlF9dZ0kNsyw9rrXAjQ== X-Received: by 2002:a05:6000:184a:: with SMTP id c10mr34616274wri.244.1622034071313; Wed, 26 May 2021 06:01:11 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:10 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Heikki Krogerus , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 24/24] usb: typec: ucsi: Fix copy/paste issue for 'ucsi_set_drvdata()' Date: Wed, 26 May 2021 14:00:37 +0100 Message-Id: <20210526130037.856068-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/typec/ucsi/ucsi.c:1287: warning: expecting prototype for ucsi_get_drvdata(). Prototype was for ucsi_set_drvdata() instead Cc: Heikki Krogerus Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Heikki Krogerus diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c index b433169ef6fa4..4e1973fbdf0dc 100644 --- a/drivers/usb/typec/ucsi/ucsi.c +++ b/drivers/usb/typec/ucsi/ucsi.c @@ -1279,7 +1279,7 @@ void *ucsi_get_drvdata(struct ucsi *ucsi) EXPORT_SYMBOL_GPL(ucsi_get_drvdata); /** - * ucsi_get_drvdata - Assign private driver data pointer + * ucsi_set_drvdata - Assign private driver data pointer * @ucsi: UCSI interface * @data: Private data pointer */