From nobody Sun Dec 28 15:37:20 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD2EDC4167B for ; Wed, 6 Dec 2023 18:13:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379774AbjLFSNb (ORCPT ); Wed, 6 Dec 2023 13:13:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379087AbjLFSNa (ORCPT ); Wed, 6 Dec 2023 13:13:30 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 730D1D5B; Wed, 6 Dec 2023 10:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=9Jjhru2ZS2MjwSXGlS5vMOqG5oAjzFFLnSkNdJ/iC7Y=; b=fFMF/HdNhrOgP0tisubvvm+0du sSkWPYchdFU+7JZ81vY6FMVW3yepI6GBNfY+NNR7wyoIlrWZJt6wZU80vblBmk6OcQ3xs81SafMTA JxTJMZgo8gbFEVLl+GD4lyLD1jmMVQ42mMHDA1nKxouae0DEKk3mIM9OkCpy4859yi9fHpw1tIFch NCPunzAZLmxnRtFOlx+zDLfIOq1fUeR+tdqVcPfQC3knFGD/1x9Kr0QJQso33SaSYC2hFsbQJvVb1 rT/329l9EJarlVw0EyMFnOc7yfWOKuQbYeRPatmOWvRWZLndP63LC1LiMrCEwAvQjanWLnTDsp4s8 oQb/tGVg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAwOu-00B0qd-0j; Wed, 06 Dec 2023 18:13:36 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Linus Walleij , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH] usb: fotg210-udc: fix function kernel-doc comments Date: Wed, 6 Dec 2023 10:13:35 -0800 Message-ID: <20231206181335.27540-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Correct kernel-doc comments to prevent warnings from scripts/kernel-doc. fotg210-udc.c:1103: warning: Function parameter or member 'g' not described= in 'fotg210_vbus_session' fotg210-udc.c:1103: warning: Excess function parameter '_gadget' descriptio= n in 'fotg210_vbus_session' fotg210-udc.c:1103: warning: No description found for return value of 'fotg= 210_vbus_session' fotg210-udc.c:1129: warning: No description found for return value of 'fotg= 210_phy_event' Signed-off-by: Randy Dunlap Cc: Linus Walleij Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Reviewed-by: Linus Walleij --- drivers/usb/fotg210/fotg210-udc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/drivers/usb/fotg210/fotg210-udc.c b/drivers/usb/fotg210/fotg210-u= dc.c --- a/drivers/usb/fotg210/fotg210-udc.c +++ b/drivers/usb/fotg210/fotg210-udc.c @@ -1094,10 +1094,10 @@ static int fotg210_udc_stop(struct usb_g =20 /** * fotg210_vbus_session - Called by external transceiver to enable/disable= udc - * @_gadget: usb gadget + * @g: usb gadget * @is_active: 0 if should disable UDC VBUS, 1 if should enable * - * Returns 0 + * Returns: %0 */ static int fotg210_vbus_session(struct usb_gadget *g, int is_active) { @@ -1122,7 +1122,7 @@ static const struct usb_gadget_ops fotg2 * * Called by the USB Phy when a cable connect or disconnect is sensed. * - * Returns NOTIFY_OK or NOTIFY_DONE + * Returns: NOTIFY_OK or NOTIFY_DONE */ static int fotg210_phy_event(struct notifier_block *nb, unsigned long acti= on, void *data)