Message ID | 20230927044128.4748-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2406288vqu; Tue, 26 Sep 2023 22:47:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBIwY+x4SZqytbOlLnwMqXlcyU3RNLASTS66hTWz3Zsvoj5znTxY6bcp0TPO+5gS+cg77I X-Received: by 2002:a05:6102:274a:b0:452:6aca:b9 with SMTP id p10-20020a056102274a00b004526aca00b9mr1059437vsu.10.1695793662078; Tue, 26 Sep 2023 22:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695793662; cv=none; d=google.com; s=arc-20160816; b=nXgOHQ7jrYMPDQI2BLVkLdtSzpCULobXQVY0uzBmsaIxIAh61eoKQSry4uSzdGHy4N ctS3uO3eHbswPGKIZVEdW+IN/gQrC5qirSYBtMzFztCjvS3ZHA9CMw7jetks7IG1g5gF yb6mwsxx984sjdcL6FWQ0HA4MAtsjPWf6rZNb8W5YGM0etr9kOr3eVQYbvCnCSIqrLW2 nmI4eU2/BgUAlMGuAvrrG+SZ7fhV0L3M6I5Y+qrZYRsrmeKKd5d6wpsrxr8k9dBR1CK1 QZcRwyIEEvV/5sEAACC+OIrvqgAiOesRLeBthix2GLloSG6Y2eoMmGf3J1/PTlgK+sLm JFeg== 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=o2C3IMNn5E8olqASjx2/ZYFEnSXvq023rbPKyXfiuOE=; fh=m/RDAqfFedfOpPb8Zx5HnbGNHGjkOAR6q3ZKe821qn0=; b=da3stS88+VYHR71tjSBGhXFjswQJVUQDJXhQihy3vPmQlETwoSeI8yoArU8CPcOScr waFDOXpiObUHZAOF1VJ5NzCHvRNDyLyhHvjHP7X/Dekq3E8LFL4bPFrI2J7gA+ct3t/x H+H3HGpi4x3V9dl+Zj7VN2O6KepETbkDPCB+34o7DYa8s3kVDhxsRQxKlzuQfJ2SS2dn BdVQrcGx0thS0lqwl1pD4/r590OjUVSbk9GW33EQpBECVsBctdF/Nrq6zcXk8mSS1ssh KtUWFFsUs0J1CEPDbLx9T/sq3d6KjHwA5yzuc/fneaJ6iyuLrOZzXc6Z60oxaIoKrXoz aRqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KaXxIKBM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id u29-20020a63141d000000b00578acf1e8a3si14387980pgl.576.2023.09.26.22.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 22:47:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KaXxIKBM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 EDC0680BEF0D; Tue, 26 Sep 2023 22:12:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjI0FMB (ORCPT <rfc822;pwkd43@gmail.com> + 26 others); Wed, 27 Sep 2023 01:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjI0FLZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 27 Sep 2023 01:11:25 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F35237A81; Tue, 26 Sep 2023 21:41:29 -0700 (PDT) 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=o2C3IMNn5E8olqASjx2/ZYFEnSXvq023rbPKyXfiuOE=; b=KaXxIKBMPN4ABhM72wnGNNhU52 hI70FbrVB2UTn/yOyXmB2Ots396y8XUoYtwzsJe0vCEXLhxQSjFgoJyBZp9SNt5/puDpOqx7Nrf51 x6aiBs9CcLp4vCXb/7XgrIDBbb1H+RwFaNTPuR7MyGylNEKb+TbBb2f/RsV5RpHrTe2omMIB7Reeu f8F4XOQdFU2Ts//kdC3YA9gtigbnfrGC70thb0uG43eofwMkJXCJ3t0XMF509BS+3Luo8xEdYobLb z6Lvfc+Gb7zafT4EqmYailKBzbDX8CMj14Vtnp7q5TKLwuSWGxE266ZZl7Zte0eBt4e3l6y0NgjSm esiSnEwg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qlMMa-00HXig-2t; Wed, 27 Sep 2023 04:41:28 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, John Ogness <john.ogness@linutronix.de>, linux-serial@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org> Subject: [PATCH -next] serial: core: fix kernel-doc for uart_port_unlock_irqrestore() Date: Tue, 26 Sep 2023 21:41:28 -0700 Message-ID: <20230927044128.4748-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.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 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]); Tue, 26 Sep 2023 22:12:44 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778168535227794897 X-GMAIL-MSGID: 1778168535227794897 |
Series |
[-next] serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
|
|
Commit Message
Randy Dunlap
Sept. 27, 2023, 4:41 a.m. UTC
Fix the function name to avoid a kernel-doc warning:
include/linux/serial_core.h:666: warning: expecting prototype for uart_port_lock_irqrestore(). Prototype was for uart_port_unlock_irqrestore() instead
Fixes: b0af4bcb4946 ("serial: core: Provide port lock wrappers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
---
include/linux/serial_core.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2023-09-26, Randy Dunlap <rdunlap@infradead.org> wrote: > Fix the function name to avoid a kernel-doc warning: > > include/linux/serial_core.h:666: warning: expecting prototype for uart_port_lock_irqrestore(). Prototype was for uart_port_unlock_irqrestore() instead > > Fixes: b0af4bcb4946 ("serial: core: Provide port lock wrappers") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: John Ogness <john.ogness@linutronix.de> > Cc: linux-serial@vger.kernel.org > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Jiri Slaby <jirislaby@kernel.org> Thanks for catching and fixing this. Reviewed-by: John Ogness <john.ogness@linutronix.de>
diff -- a/include/linux/serial_core.h b/include/linux/serial_core.h --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -658,7 +658,7 @@ static inline void uart_port_unlock_irq( } /** - * uart_port_lock_irqrestore - Unlock the UART port, restore interrupts + * uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts * @up: Pointer to UART port structure * @flags: The saved interrupt flags for restore */