From patchwork Sat Jan 14 03:46:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 43694 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp105057wrn; Fri, 13 Jan 2023 19:48:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXs0Hh4NuX7ZxctnRZAJW6TRK77qosMB2oQGffREbTBiNPoLnYvPOdELZwyjM7roPlDdq2ma X-Received: by 2002:a17:906:d217:b0:7af:1139:de77 with SMTP id w23-20020a170906d21700b007af1139de77mr69192691ejz.4.1673668119052; Fri, 13 Jan 2023 19:48:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673668119; cv=none; d=google.com; s=arc-20160816; b=sCZRtMXLaNfJBepIYxUgQ68YxvvFPgRtvs+3cIa/qPJ2IMQQuVjqLDMCp+QG25nxsl uioMMbofR/QKUPYW/b3UkNairHDhVa8CZOyhHWtZsIyVtWqBLHTY3K/LwWMfYNao07zg MGOPkccbUVwfG/eVMqNcwK2lpRhv3P3d2XbB9sifuZ70QS0hOpBcpR/WplJeM23dCnHS t8biMUXlepg6zX9yGBRyAr3x3MHkQNv7E1vKMDJ+C73kf13O863nJo1QVci2Q7sLVZbx /CmT+nB66bVAqar7b4YMwXwQiMHl7nFEcUZ9AZDZePm4s+cPFZZ3fYXtdkcR7/iHo3BM TydA== 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=EkNPuTmE0FlVUcmLXPqWTEEOqqQM0wB5qyAYLxd8E+8=; b=PK7Yci5xWFbQXN/jqxoJAGYyysieYr7SLK1GviA2qghXMVXacP1s+jHbt4VNcinwEZ M8UgIHm6+8Ul6NgfhtBMdsZLNFyMfZy9iOD4BpDvBF8OMoM1LlbtfRv2TRybL4qCGfg4 PUavYNFxWVPpVpSXg3iEUbKhK55wGsECbj2TXlsdjAvZNbzmDmUboDQoxgRxuYu+trMH N8+XFy63eAWGh6Fn0UJVVlAVdT6IfUGx2HfJUaNAssmSliTka9Tuu0u9sZhJFDbsYpi7 0uyyPEiWO4RqAytUUqTxrw7hG98kBWII0VbtpoGd9eYvqU25RJ80lXddlkqWhj+ghsu0 fvmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lEE9ZqnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xa5-20020a170906fd8500b0084d43aadb70si14460002ejb.127.2023.01.13.19.48.04; Fri, 13 Jan 2023 19:48:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lEE9ZqnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbjANDqy (ORCPT + 99 others); Fri, 13 Jan 2023 22:46:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbjANDqw (ORCPT ); Fri, 13 Jan 2023 22:46:52 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27482719 for ; Fri, 13 Jan 2023 19:46:48 -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=EkNPuTmE0FlVUcmLXPqWTEEOqqQM0wB5qyAYLxd8E+8=; b=lEE9ZqnKSPAHmtX3SF2ARxmdUF 73LUNVL01txL/T4zhkW2Rpa/4Lsm+Rna4jDrg+oddBKf2cs+WXdF/qJPYHPj68ZCrlEi+uvEfF11L c5my4x1Ye4kJvZQnF0QMVvBsvwDPiHFcR1JMmMq02gyp5QEc8FRzcIOX8SvWvgJCoNCEjKkFzbgcf haPA+UYPVistPFvlgFxkem38nmONlRoSZX0SpvQNB+QByIKnoKrnM9G7+44AFAWVQpbffUzxfMRNS q1DfqYd9I8AKAofkFWfsXWbDAJyKbtMkb5dmkSFyQBLPzjcw6z6vktYkgt8jIMJdS6RTcyeOftgTV eAFxSrsA==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGXVH-005A7T-8g; Sat, 14 Jan 2023 03:46:47 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dominik Brodowski , Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH] pcmcia: synclink_cs: remove kernel-doc notation Date: Fri, 13 Jan 2023 19:46:46 -0800 Message-Id: <20230114034646.1535-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754968221216233937?= X-GMAIL-MSGID: =?utf-8?q?1754968221216233937?= Remove all kernel-doc "/**" markers; just use "/*" comments since these are not in kernel-doc format. This eliminates 11 kernel-doc warnings: drivers/char/pcmcia/synclink_cs.c:487: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * line discipline callback wrappers drivers/char/pcmcia/synclink_cs.c:3861: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by generic HDLC layer when protocol selected (PPP, frame relay, etc.) drivers/char/pcmcia/synclink_cs.c:3914: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by generic HDLC layer to send frame drivers/char/pcmcia/synclink_cs.c:3959: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by network layer when interface enabled drivers/char/pcmcia/synclink_cs.c:4022: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by network layer when interface is disabled drivers/char/pcmcia/synclink_cs.c:4053: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by network layer to process IOCTL call to network device drivers/char/pcmcia/synclink_cs.c:4156: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by network layer when transmit timeout is detected drivers/char/pcmcia/synclink_cs.c:4179: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by device driver when transmit completes drivers/char/pcmcia/synclink_cs.c:4191: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by device driver when frame received drivers/char/pcmcia/synclink_cs.c:4231: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by device driver when adding device instance drivers/char/pcmcia/synclink_cs.c:4279: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * called by device driver when removing device instance Signed-off-by: Randy Dunlap Cc: Dominik Brodowski Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/char/pcmcia/synclink_cs.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff -- a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c @@ -483,7 +483,7 @@ static void* mgslpc_get_text_ptr(void) return mgslpc_get_text_ptr; } -/** +/* * line discipline callback wrappers * * The wrappers maintain line discipline references @@ -3857,7 +3857,7 @@ static void tx_timeout(struct timer_list #if SYNCLINK_GENERIC_HDLC -/** +/* * called by generic HDLC layer when protocol selected (PPP, frame relay, etc.) * set encoding and frame check sequence (FCS) options * @@ -3910,7 +3910,7 @@ static int hdlcdev_attach(struct net_dev return 0; } -/** +/* * called by generic HDLC layer to send frame * * skb socket buffer containing HDLC frame @@ -3955,7 +3955,7 @@ static netdev_tx_t hdlcdev_xmit(struct s return NETDEV_TX_OK; } -/** +/* * called by network layer when interface enabled * claim resources and initialize hardware * @@ -4018,7 +4018,7 @@ static int hdlcdev_open(struct net_devic return 0; } -/** +/* * called by network layer when interface is disabled * shutdown hardware and release resources * @@ -4049,7 +4049,7 @@ static int hdlcdev_close(struct net_devi return 0; } -/** +/* * called by network layer to process IOCTL call to network device * * dev pointer to network device structure @@ -4152,7 +4152,7 @@ static int hdlcdev_wan_ioctl(struct net_ } } -/** +/* * called by network layer when transmit timeout is detected * * dev pointer to network device structure @@ -4175,7 +4175,7 @@ static void hdlcdev_tx_timeout(struct ne netif_wake_queue(dev); } -/** +/* * called by device driver when transmit completes * reenable network layer transmit if stopped * @@ -4187,7 +4187,7 @@ static void hdlcdev_tx_done(MGSLPC_INFO netif_wake_queue(info->netdev); } -/** +/* * called by device driver when frame received * pass frame to network layer * @@ -4227,7 +4227,7 @@ static const struct net_device_ops hdlcd .ndo_tx_timeout = hdlcdev_tx_timeout, }; -/** +/* * called by device driver when adding device instance * do generic HDLC initialization * @@ -4275,7 +4275,7 @@ static int hdlcdev_init(MGSLPC_INFO *inf return 0; } -/** +/* * called by device driver when removing device instance * do generic HDLC cleanup *