Message ID | 20231206181317.27515-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4289164vqy; Wed, 6 Dec 2023 10:13:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3kyXOlTnT94JdaF3iFzZ9/5IHsB/ccAwt3CRxQVWY7jGM8Sqn3meheCkRq90qNJwJDvQJ X-Received: by 2002:a05:6a00:1503:b0:6cb:cdd0:76f7 with SMTP id q3-20020a056a00150300b006cbcdd076f7mr1133737pfu.21.1701886406161; Wed, 06 Dec 2023 10:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701886406; cv=none; d=google.com; s=arc-20160816; b=kpmpAHJ49AlDsmDGKoKGvPe2WJk33qtsMYeGCTWdkzvcUTW4vkST/2oVfFTONC4zxD oEKxEYV2e4YkKMr7umAvP3V6GUKjn5OaXnSexmFDfRNhj5zAT20vV8ulhsG28VGb4NdW 1ZXGyeDAOVcEe8V2SwvonT9JdZVZRymb3gSZvekLb8pqnK+vIaDyE4Oevwi0KYBMe+GL k7W1Rt8u5azvzfMeilv9RxlBs72rnnmAheBllAVrxRnwde5aiW4D5j9gX1MPgKgTqkut xN2JirI8Emu8Onlq05iFXdd7Rr/wZZQDj27y4JNF2xsAwA9h9Ywoe6sKeI6UV6JRvD+z CCYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=I7ZFNkd8uHu9jhtoI/cVBVcr54rjvXscjk5fCGNHaqA=; fh=9uoui6pIjs9UUo+CvrWdes3leIFq75bJ+zEfSzVjzG0=; b=YnRp9ltFmPi7XeyRreau+sCAkUw+WO+pIYf2kq0I2LpLbBw1w+2TFqFywUeGv7K/TL BUZHika8qKEH/a5UkMkjH4dG4z98ZHYy/pFwnV33F9hgkx1aExA1oSbvGbcs0e+Tuimd hp8+iQfZW7iCV8XJ2TeFO350c0pazJbVc8917d8qLnwuWVnMtBxl3Wmfz0raM7OTrSmm C05MDGc/csWJUuaVuXIoiB9XY0zPrLgkBBNXtJaIBv6+xU7JhDr5x7TXgEw8LmG60+LY gPPdFQEK70nf3Ia28Nogi2cXLE3TuJU/Xpw4jbrG/2H/kbCNDy/5nwBq+wHAe9RVKT7g bZRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hf0lLEXc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ka42-20020a056a0093aa00b006cd97ba7ccbsi304487pfb.232.2023.12.06.10.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 10:13:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hf0lLEXc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C8D9F827D0E7; Wed, 6 Dec 2023 10:13:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379059AbjLFSNO (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 13:13:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378448AbjLFSNN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 13:13:13 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB364122; Wed, 6 Dec 2023 10:13:19 -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=I7ZFNkd8uHu9jhtoI/cVBVcr54rjvXscjk5fCGNHaqA=; b=hf0lLEXcVio6BQEPxuc2mIYkj6 YhUjh+92ppTS/VIHbb83RYdnbipVQb6Ctt5l174DoqN2KBHJHvclLkxWcqjb+BMDM/maQGS1oVDst XeQaethSYjoVukrtTdDjIxtCRE3PUZep/aVerG4tsS0PmI+3FfP5ZvXgW+G7MyWLyp7+WuoO/bulE jnzZIOUSkiyUMRHbGz2yE9TqUjmuFUZ+SFnFCREyJGNkh122Rzjg8mE98PXQzJ2EIeYBtv0xYIV6V +G+RZf7SDzxPYr988LJtiAWMvcUWpCC/lwHZQ/wQyLCTRY8YSRJekjAtPGMki09wzr2mF1NpBeqwo 2mi2FdHQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAwOc-00B0ny-1I; Wed, 06 Dec 2023 18:13:18 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Minda Chen <minda.chen@starfivetech.com>, Peter Chen <peter.chen@kernel.org>, Pawel Laszczak <pawell@cadence.com>, Roger Quadros <rogerq@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org Subject: [PATCH] usb: cdns3: starfive: don't misuse /** comment Date: Wed, 6 Dec 2023 10:13:17 -0800 Message-ID: <20231206181317.27515-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 10:13:23 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784557239995413504 X-GMAIL-MSGID: 1784557239995413504 |
Series |
usb: cdns3: starfive: don't misuse /** comment
|
|
Commit Message
Randy Dunlap
Dec. 6, 2023, 6:13 p.m. UTC
Use a common C comment "/*" instead of "/**" to prevent a warning
from scripts/kernel-doc.
cdns3-starfive.c:23: warning: expecting prototype for cdns3(). Prototype was for USB_STRAP_HOST() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Minda Chen <minda.chen@starfivetech.com>
Cc: Peter Chen <peter.chen@kernel.org>
Cc: Pawel Laszczak <pawell@cadence.com>
Cc: Roger Quadros <rogerq@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
---
drivers/usb/cdns3/cdns3-starfive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Dec 7, 2023 at 2:13 AM Randy Dunlap <rdunlap@infradead.org> wrote: > > Use a common C comment "/*" instead of "/**" to prevent a warning > from scripts/kernel-doc. > > cdns3-starfive.c:23: warning: expecting prototype for cdns3(). Prototype was for USB_STRAP_HOST() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Minda Chen <minda.chen@starfivetech.com> > Cc: Peter Chen <peter.chen@kernel.org> > Cc: Pawel Laszczak <pawell@cadence.com> > Cc: Roger Quadros <rogerq@kernel.org> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: linux-usb@vger.kernel.org > --- Acked-by: Peter Chen <peter.chen@kernel.org> Peter > drivers/usb/cdns3/cdns3-starfive.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/usb/cdns3/cdns3-starfive.c b/drivers/usb/cdns3/cdns3-starfive.c > --- a/drivers/usb/cdns3/cdns3-starfive.c > +++ b/drivers/usb/cdns3/cdns3-starfive.c > @@ -1,5 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0 > -/** > +/* > * cdns3-starfive.c - StarFive specific Glue layer for Cadence USB Controller > * > * Copyright (C) 2023 StarFive Technology Co., Ltd.
diff -- a/drivers/usb/cdns3/cdns3-starfive.c b/drivers/usb/cdns3/cdns3-starfive.c --- a/drivers/usb/cdns3/cdns3-starfive.c +++ b/drivers/usb/cdns3/cdns3-starfive.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -/** +/* * cdns3-starfive.c - StarFive specific Glue layer for Cadence USB Controller * * Copyright (C) 2023 StarFive Technology Co., Ltd.