From patchwork Sun Feb 18 18:57:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Ogness X-Patchwork-Id: 202865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp915058dyc; Sun, 18 Feb 2024 11:06:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbMxGEPs9plTyyVfQ4AqxHYDHRC0uJKJ6AjAOFk0XdRYqRW0k/VQlLsqP5BcWMWG6+k+/3BNtrEusbmWeCGVIkXDCdAA== X-Google-Smtp-Source: AGHT+IFl7nDWurxPYon6xJ55BBQwXBUqpPW4qrVLaeVkNHja3ZZRIYSpHpLpgIK2t2ZZ6fQe+pD3 X-Received: by 2002:a05:6808:13cb:b0:3c1:5599:2461 with SMTP id d11-20020a05680813cb00b003c155992461mr2593332oiw.20.1708283197616; Sun, 18 Feb 2024 11:06:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708283197; cv=pass; d=google.com; s=arc-20160816; b=bisFXSqEwqiZp5m4TAlqvtywjwafU6mEPd0yApT1RIdttjqqf0/11YcKi7USdE078q XLkJ20MktX4wQiHcsM4RHRKzzkehwvdWBC890WeOFyDQy7akK9I9m4oRI5hGdBZNpCB0 YWgnvhlqmm/RGYQ1a6uMANcfj+vebBqE09vfna7o01JFvCWE06r1MKd+djoAKnS0bghU lyblLdbueT2rtQIjhUaP+ZdKLxr/OreXFmzFPTzTdoGlc/fZx5NrYQLB+rzKlIuJkzOl cIJ9TL8hh1GS498L8BmYdLAwimzxxxS5E/TL4IrxdN5LiePd7UfsMnRn/cqP49nlj/vO 9OQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:dkim-signature:dkim-signature:from; bh=hl9qbklGnpInKmYvJoa6ZS5PHIy9GOhc0q9FzMa8X2Y=; fh=j6+PD5G2JP7q2Jw773ELurh1wgwslp/mFvwvZ0cuvt0=; b=khw6B7ySixLH6jvoxfoT4dig7rrheUYX+3w5aliWWn183L0lWLfHgl2IxuDOkSmJoo 5Njovm9AMY83cjF0AkXleF6jwhMlOnpoVzQvi394BO2QV/w4H3jx1knXssnHJ0XUidZy 9NXBhWli4uIorQ12HSGZ6tleML5HrjwZ5Ui8hlZnyWDR4AFM1AJ3NrdVFL8x0KWJ1aMn y4/zSxKTpErj34wVd1LMol2o4TDylWu3Y54OGyp14bhwCBGh7gBY1Qa9rxZANaCrUXK2 70zHuIstQhaGygw9nSGtsnlE1HyjLXaOvOdAY0ChL8ED7Gi4qGZkItt5P0JWOLiXv/ZW RacA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hzsRMOH6; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-70534-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70534-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q2-20020a05622a030200b0042aadd56214si5050834qtw.92.2024.02.18.11.06.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 11:06:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70534-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hzsRMOH6; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-70534-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70534-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6473A1C2103E for ; Sun, 18 Feb 2024 19:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8174745E8; Sun, 18 Feb 2024 19:04:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hzsRMOH6"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aTmN1BPg" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A858E6F507; Sun, 18 Feb 2024 19:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708283076; cv=none; b=ppMCEYoH98Tb/WHdKsxaa4ATXJb0XjB+OyuMqdyp01u+EigJTtTOqBhAwEjL6uzYiEjF1WlrZYNTBhxWpNZ5EGzzlnMWD2jNpVJ8nyJx0GOIyNW5nnsCMmbtbEKsE9/geATzpf6+2wSNxZSPih7acV6s16pX2MPPuYEuQ3pf2NA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708283076; c=relaxed/simple; bh=keGeNhzs3xp+qeYPU8cNtdBOt0vcNU3zMqIHr/8gsdk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EFNV6inn4TM1o/YYlwAMDMLLhVF2EkQrfd+AWDTiwa7gtIAmMmdnWSaLw7Q4xCTWwO9UsFyLpi4bxBvzQf/PoOSzVxx3sk5wKBsMcSU0QS7htnQuZrI494X/DQh822IoFnt/yNw5zfACaqaYEMypVsiza16W3HiGGCtKZPf7r0U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hzsRMOH6; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aTmN1BPg; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708282669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hl9qbklGnpInKmYvJoa6ZS5PHIy9GOhc0q9FzMa8X2Y=; b=hzsRMOH6xeWxc2o2bRi5V62jaRTvfs7zJ+P0LqBDGw2zp7XE/6L+IQGhAIrtviSmkoco4x 9eIgWPX+MYzeEF+BWttPOsMQfQp637cS3Ljr33qbYM0REFlEz+3GqCfKqDIX0XLYBkbH/K l9JX/WpwrANdf0ctJgkvSnfllg0p3BLmu4mhA7pmccbd/V+FqKDyzsgiq1/Ln/fU3EJuwI EO/SzKzaikWR4aiaskFaHBKwzNUgqzm3topJgtTZTG60Axn1vfYluAEdZA5b5ZMkUQnjcI 8tWHpYiq2ITkc4fiGkjXfwa2ndDHUnwfFQKhqfNEU5OYIfM8xQ9K9p3GtVKisQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708282669; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hl9qbklGnpInKmYvJoa6ZS5PHIy9GOhc0q9FzMa8X2Y=; b=aTmN1BPgkJfjz5ghzY+8zNVy8iT7ckSrrKhBMJR8BN+z8EP3Hh0PLeU0D6cc7pLTCRm959 PY5rzrq5hPOljlDw== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Randy Dunlap , Greg Kroah-Hartman , Jiri Slaby , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , linux-serial@vger.kernel.org Subject: [PATCH printk v2 03/26] serial: core: fix kernel-doc for uart_port_unlock_irqrestore() Date: Sun, 18 Feb 2024 20:03:03 +0106 Message-Id: <20240218185726.1994771-4-john.ogness@linutronix.de> In-Reply-To: <20240218185726.1994771-1-john.ogness@linutronix.de> References: <20240218185726.1994771-1-john.ogness@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791264762146182449 X-GMAIL-MSGID: 1791264762146182449 From: Randy Dunlap mainline commit: 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f 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 Reviewed-by: John Ogness Link: https://lore.kernel.org/r/20230927044128.4748-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman --- include/linux/serial_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 3091c62ec37b..89f7b6c63598 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -658,7 +658,7 @@ static inline void uart_port_unlock_irq(struct uart_port *up) } /** - * 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 */