Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2370472rdh; Tue, 26 Sep 2023 23:50:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcvnx4/9YfdUu4RJ68seTlMMJ5P28alEvHzDT4bf3oa+RzjOXUQL0xurjqM/uSvGphWxLH X-Received: by 2002:a0d:cc97:0:b0:59e:afab:d5a5 with SMTP id o145-20020a0dcc97000000b0059eafabd5a5mr1456746ywd.23.1695797425366; Tue, 26 Sep 2023 23:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695797425; cv=none; d=google.com; s=arc-20160816; b=dLhfC2FKQ68TT9wXmh8PcPTk3KXfqzAh5COdnqtue2yRo73ErZKrTeJUMW/vtYKerr SCheEWTzlWw7addzvv2+26YIwzQ6OWOA4q4b4Ri4wEOUTfte6NsZ5+YuZ2tTlROq34Sw rX+RQSFNbbpHPK3RS9AEnABdvZK64X/3AHPzQ47ic5wnLhLwKpcDIyL5Xc5DQN4gpkxJ iVbNKNmKkH9EeVHHgv0/0Xm/qFEfmkvUxeXFirzxuOa7fGeJNxbPrn2QExSVGU5/O1+g dNFLhuPLL3vL4lB0zgQ9O/49AwxSF8F+byrFD6cX5GZPQraOJEXW+JoJoCIFzeorKL0u lSHA== 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 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id g5-20020a17090a9b8500b0026ce877b4cbsi2717378pjp.151.2023.09.26.23.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 23:50:25 -0700 (PDT) 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=KaXxIKBM; 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 72C8680BB6F7; Tue, 26 Sep 2023 22:12:28 -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 S229807AbjI0FMB (ORCPT + 99 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 ); 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 To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , John Ogness , linux-serial@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby 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: 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:28 -0700 (PDT) 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 Cc: Thomas Gleixner Cc: John Ogness Cc: linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman Cc: Jiri Slaby --- include/linux/serial_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */