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: 12281569 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31CC3C47089 for ; Wed, 26 May 2021 13:00:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1006B613D4 for ; Wed, 26 May 2021 13:00:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbhEZNCV (ORCPT ); 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-Google-Smtp-Source: ABdhPJzWHzzkAvsiM2AEM+7p7YrLBxGJx848Nmp7flT0Iqd/5b2/jLrudbpEW8UnYEKpyQxhv+uOyQ== 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(-) 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: 12281571 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ABBFC47088 for ; Wed, 26 May 2021 13:00:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 39EB3613E6 for ; Wed, 26 May 2021 13:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234581AbhEZNCX (ORCPT ); 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-Google-Smtp-Source: ABdhPJzzwJI6Kuf7CICgHAvH50QQxCl1j6KlpuzOCkBlRKVHA6rTtlP56vhDK1Y98J3SUH2FMuELJA== 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 Acked-by: Minas Harutyunyan --- drivers/usb/dwc2/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7916C47089 for ; Wed, 26 May 2021 13:01:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE819613D4 for ; Wed, 26 May 2021 13:01:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234756AbhEZNCa (ORCPT ); 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-Google-Smtp-Source: ABdhPJzyC5CuTPA/mddKYnxBk2ZuzkwnF05QXDPiw/dHSZafcLnBzSwjlhOjPo4pUYzR2+8v9voY3A== 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 Reviewed-by: Heikki Krogerus --- drivers/usb/common/ulpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281575 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A73BC47082 for ; Wed, 26 May 2021 13:01:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4DAEA611CD for ; Wed, 26 May 2021 13:01:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234885AbhEZNCb (ORCPT ); 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-Google-Smtp-Source: ABdhPJyZAmZS13GvVI3oXls44k0noSs5Dx+Au8qYpHtppOYSMkaZc/Jz/jr4F0hrDFfNrxOmmLFT0A== 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(-) 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: 12281577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DA61C47082 for ; Wed, 26 May 2021 13:01:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 00657613D4 for ; Wed, 26 May 2021 13:01:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234913AbhEZNCd (ORCPT ); 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-Google-Smtp-Source: ABdhPJxSOO9StGRuudmQN9i7ChF2W6rcnS4woOgbTYoScVCLCvoBk+w9nBv1Dqd1JhymAQ/M/CDreg== 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 Acked-by: Minas Harutyunyan --- drivers/usb/dwc2/params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: 12281579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0191C47088 for ; Wed, 26 May 2021 13:01:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C192A613F1 for ; Wed, 26 May 2021 13:01:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234930AbhEZNCf (ORCPT ); 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-Google-Smtp-Source: ABdhPJwWmb/Kkxx3XwJGZhwQ5XxgRJr6DaOzbZh41z2m8M29MMCXDoZt4sxszuuSYpMZvBgCB9iCdA== 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 Reviewed-by: Rui Miguel Silva --- drivers/usb/isp1760/isp1760-udc.c | 1 + 1 file changed, 1 insertion(+) 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: 12281583 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8578C4708A for ; Wed, 26 May 2021 13:01:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD973613D4 for ; Wed, 26 May 2021 13:01:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234973AbhEZNCl (ORCPT ); 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-Google-Smtp-Source: ABdhPJw079cciCUte2zRE1wkRyXyx5iEwbJxkkS4ZZ7EEOizm9lZGEr385nUKYpMdnDlxksou+zNnw== 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(-) 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: 12281581 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96848C47082 for ; Wed, 26 May 2021 13:01:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BFEC613D4 for ; Wed, 26 May 2021 13:01:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234966AbhEZNCk (ORCPT ); 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-Google-Smtp-Source: ABdhPJyD/0d1YxYV6SkKT4N+wRfvSN8hofhog+J5kCAgUXV6p2b8I6Dm5m1/nn+KjgGcQ7hMYUkizQ== 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(-) 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: 12281585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10DA2C4708B for ; Wed, 26 May 2021 13:01:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F07BB613E6 for ; Wed, 26 May 2021 13:01:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234760AbhEZNCm (ORCPT ); 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-Google-Smtp-Source: ABdhPJzDQZva0sgjfdrbMXbrSAL33f5tBEZSMmlg1aDjhxxk7JL2scIVT78zduvBUEtv/4DFX/ZUxQ== 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(-) 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: 12281587 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECBB4C47089 for ; Wed, 26 May 2021 13:01:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D1213613D4 for ; Wed, 26 May 2021 13:01:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235002AbhEZNCn (ORCPT ); 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-Google-Smtp-Source: ABdhPJyGybci+q+lRWReYMoifHv7LQ4kvGX3EDOi8lqyZRGOjUCRogacK+Qd5xv7FX4H9dRnM5a1gQ== 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(-) 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: 12281589 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1789FC4708C for ; Wed, 26 May 2021 13:01:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EAD39611CD for ; Wed, 26 May 2021 13:01:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235012AbhEZNCo (ORCPT ); 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-Google-Smtp-Source: ABdhPJxU9uTEqIWW9yn8i9bsD/tIXZXZwWSIhy2p/Ss0S2v8A+QUQiF+aS1Ux0gOmb1wMwf5cEidAA== 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 Acked-by: Minas Harutyunyan --- drivers/usb/dwc2/hcd_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281593 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8369BC47082 for ; Wed, 26 May 2021 13:01:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BC1F611CD for ; Wed, 26 May 2021 13:01:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235037AbhEZNCq (ORCPT ); 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-Google-Smtp-Source: ABdhPJz4pZHD91XhLrHvwY+5lCn0MS2Yz8Pz4Px0N5N/OHjdWt+SVabsbU49zGUe4FGof5HaBpcnNw== 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 Acked-by: Minas Harutyunyan --- drivers/usb/dwc2/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281591 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0FBFC4708A for ; Wed, 26 May 2021 13:01:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A918C611CD for ; Wed, 26 May 2021 13:01:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235024AbhEZNCp (ORCPT ); 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-Google-Smtp-Source: ABdhPJwSSW8n5Kv0hUGw8YkNXsldQQWfDpWds2vhGVUH6/jTlHvbZYEBWsEz54xZOZQcMRaIwRWhIw== 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(-) 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: 12281595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7F0EC47082 for ; Wed, 26 May 2021 13:01:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF55960FD8 for ; Wed, 26 May 2021 13:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235039AbhEZNCr (ORCPT ); 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-Google-Smtp-Source: ABdhPJxb1ylryAcKdKx8sQgn4UqK0bwJM+U0craSVOZlcd77UaWqPnLsLAiePr+lGIqjKdwYVdmOtQ== 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(-) 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: 12281597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37E4CC47089 for ; Wed, 26 May 2021 13:01:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2089F613E6 for ; Wed, 26 May 2021 13:01:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235045AbhEZNCt (ORCPT ); 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-Google-Smtp-Source: ABdhPJxs5J0uIy5/04GWNCQlW4anwbQZPMZq5kdN+LbxzUNtNHNMW8ObkMx/nEpj2+AOwbYEp3E+rg== 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 Acked-by: Minas Harutyunyan --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281599 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2390AC47082 for ; Wed, 26 May 2021 13:01:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0AACB613E6 for ; Wed, 26 May 2021 13:01:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235106AbhEZNDA (ORCPT ); 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-Google-Smtp-Source: ABdhPJzwc2Q3tnaigclY3/tzw7N8SkkIWVdQj0IOqM/IBRCMnxNpeFiqw6lLWakFupm7f/fCDKN0zw== 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(-) 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: 12281601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE414C4708A for ; Wed, 26 May 2021 13:01:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A24C060FD8 for ; Wed, 26 May 2021 13:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234972AbhEZNDC (ORCPT ); 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-Google-Smtp-Source: ABdhPJzsAmNhDuFQBE7dXWarbIFgbk+PFmqcRu/uTYJ+ik6VMUhseTcDyNRqrQyCOulgDbUQOxCKGQ== 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(-) 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: 12281603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_RED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F37A5C47082 for ; Wed, 26 May 2021 13:01:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DDA78611CD for ; Wed, 26 May 2021 13:01:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235041AbhEZNDG (ORCPT ); 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-Google-Smtp-Source: ABdhPJyF3TqysAgaRiv3QaQr06FQAN77YlyS9WNhVKxL6TmWnfq2kezblAecIcdfC9TJOvcKmfpGxw== 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 Acked-by: Daniel Mack --- drivers/usb/gadget/udc/pxa27x_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 12281605 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97FA6C47088 for ; Wed, 26 May 2021 13:01:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C4BB611CD for ; Wed, 26 May 2021 13:01:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235131AbhEZNDJ (ORCPT ); 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-Google-Smtp-Source: ABdhPJyRGUgs1PnvtyEBBRL+/zjH/5oq1XavlOMX2b9sgoXWYDfs4A+DlUKJpkwVVNV2rtfQlhD//g== 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(-) 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: 12281609 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83D04C4708A for ; Wed, 26 May 2021 13:01:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 674DB611CD for ; Wed, 26 May 2021 13:01:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235137AbhEZNDK (ORCPT ); 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-Google-Smtp-Source: ABdhPJxbGb+Q0j/7v5WuRF+0wZltMrwCJKhRTJIXKl3ptpTQ4KxLGZloC1MW7YR2CQ085BEG/JQplQ== 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(-) 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: 12281611 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01A50C47088 for ; Wed, 26 May 2021 13:01:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE23D613D2 for ; Wed, 26 May 2021 13:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235152AbhEZNDM (ORCPT ); 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-Google-Smtp-Source: ABdhPJysJzaJHg8v6C+H+04qOo7HKqWB6dgXQTROFeTjTcAPu7ct9vscg3kahwp0hH5849vpbBzx9g== 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(-) 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: 12281607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D1B8C4708B for ; Wed, 26 May 2021 13:01:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21817613B4 for ; Wed, 26 May 2021 13:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235146AbhEZNDL (ORCPT ); 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-Google-Smtp-Source: ABdhPJxjGTAQRX1bQYEt7u4JMfRcGLIt2g6J4dYYbydSLTN12h1BHBxkjMTYYNNxQiB/jk6ztBT4Ag== 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(+) 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: 12281645 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83D9DC47089 for ; Wed, 26 May 2021 13:02:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 64454613D2 for ; Wed, 26 May 2021 13:02:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234845AbhEZNDh (ORCPT ); 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-Google-Smtp-Source: ABdhPJzrMU+Fr+eMGveaD2kAd0tFEGSzbDM12/NDjWB5f6mQPcGZUJlBu610o6ACCbjipTPnN4a7pA== 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(-) 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: 12281643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2098AC47088 for ; Wed, 26 May 2021 13:02:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01B8D613D2 for ; Wed, 26 May 2021 13:02:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235220AbhEZNDe (ORCPT ); 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-Google-Smtp-Source: ABdhPJxx/vUhheBv/u6xxxC3v9iEWvA4sorhAjtlhx6wBjJ+Mu2Z7lnv46siDZ4/6vug2f8RhOIAPA== 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 Reviewed-by: Heikki Krogerus --- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */