Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2357016lqz; Tue, 2 Apr 2024 15:13:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3Lc/pljP83LPYc+5pC9NrmI/WNm0HmzqSoovsX46w4NhI4x2YdVjMZuKknXT9SJdb1o9g/tjkoVMxDRLTmVP2n51A4QC8r94L9zE9aw== X-Google-Smtp-Source: AGHT+IEwlqPQEJxNn/zVcVtKEfYDCimxsEy5Ornn0EiZjyUlNCXXGf0CNwk08cqWzmSi/KZSNqTy X-Received: by 2002:a05:620a:28c2:b0:78d:36b6:4c02 with SMTP id l2-20020a05620a28c200b0078d36b64c02mr712151qkp.8.1712096028462; Tue, 02 Apr 2024 15:13:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712096028; cv=pass; d=google.com; s=arc-20160816; b=fJtRQKoLtx3gmvmXMqKA+5MGLgwZP6adc+b+Bwtk47DeCtQzC8B8aQQKRy6eHTNcA7 tG+Bh3hqtt2Kv/FBcIEaDtmTnwwGrDcfiIPN529gpzzfm/8gxU4SwqXHGBMzVfoa5VpA cFWC/WcV4Vibis8RSufW1cP3h4QjNLFnKOjS+C5LqU8i8kadkHQ+RPH5xkP81PiSeJov lvxZ0upMVDOQZjmL3LKYLBpyFKKRIv6aGzDS2n0WRnTTj37IdRxSNhx2nbjC5ve3C+p4 wDcSzgwMWFvHZGHu8E7k48F6xUHRxyR0OrhyPxcym+pgCvkzJO/7Bw+WpUbUCKopn0Ec z0Gg== 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=9Ht98dgt7fflhXi7xwdr8D666RniCtKRAaw59pcdcaw=; fh=SuxWkfGnc1rTkzcGOyl8L7GCj2sBT2WdH/MzhJoViSw=; b=pTpHYAuxq27ClG5aESlMEWQAQYLDLfDpPxeZFh13+yMjHHiNUx22XZCEupvwSzhWOv NfuvTCGYFgk35Y3rAXtGKl7pLwSxdCs36h2/4GvZMucf+oFSCmF2BC94KldyOYHpPQmS JOfqxBB7+6l0OP2Rm5pB2AwzWxdrbG7PYzG+gOZ4mZpVh47Ozt2CWSaoqI4FuaWZN56g 450x19KHOlA0OoAwA3CAeHp8xZQlNsIBP8/SKdSHoIzs4fWKsPVcK0j62cN/xOwwSnSc +dG/OS2LFrQSLVZFRQNd2SGn+r1x98dndhfeCkKeFzHpxVA1Mx9KP59KNhAlbQipO7LF W76g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=orRhzLBw; 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-128771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128771-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id de38-20020a05620a372600b00788422088f0si14713786qkb.615.2024.04.02.15.13.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 15:13:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=orRhzLBw; 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-128771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128771-linux.lists.archive=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 3FF7C1C22B44 for ; Tue, 2 Apr 2024 22:13:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 153A215FCFB; Tue, 2 Apr 2024 22:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="orRhzLBw"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="7XGskGEa" 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 683C615F3F5 for ; Tue, 2 Apr 2024 22:11:41 +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=1712095903; cv=none; b=CxZ536y4kR/FZXdRHLfZcvEmwOP+xUgk4bXYVW7bIwLp3W9YOeI9nsGTcnXaHwoKDlcBUOgy8YorMML9I4rhIkIOC1ohVQPOslSvVzHZL7c2oUU58N1JauntqghA7wcyrVk7GZFssXm54f34XGbBwyvc43ZWjZMbQzaOLxigBK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712095903; c=relaxed/simple; bh=H8Y6h4f+pnDIq01N0fQkcihCHtRyqbPCpn/ulCQW4A8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=R4q/AALsYF8UoJhvFRJFoY4AizPNFqBGDfp4tigrOFfYq4vNLQGvk6g13r+hwMUf0w3FTtDbqQ7ou4aWQeUni+bD9/L4ZsUucm5Wxq7lMUyllViZ6hc5alox271d90xi6AWznJoQdfyg/euAaUg/mIXQnHknKSuedXRdSHwiTBQ= 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=orRhzLBw; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=7XGskGEa; 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=1712095899; 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=9Ht98dgt7fflhXi7xwdr8D666RniCtKRAaw59pcdcaw=; b=orRhzLBwweHWfysRCvB62UA+YhniOqlwKgKuGBc9/ggHICSRUGZao3N7LkUiA1+Jj2+3BX tt7V3hrjNd7J3qNh4RTWlQv7t/c5KN7UupU3qfJBt0a4s37wGH+dn4gWpPpwMlHK9l1aev /sxTeugGs8tuTSDlAby8x9q5Q1uWfY/tsUQIIEwvI4blYF1gAbHI5/+NsxqkGoqDsDUtSX 3RKsoC07aYAKhB2Hv354x2+9LKma5sDhzUfJu3VZjhFbkzsqXGIhYu0W0pnKQWyC+v+y5t i5f4Bq6OlXXt2PC8XYBabXzLGMxs9QAZXTOTZoETDSdCsGgf77plrtjCoaKQoQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712095899; 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=9Ht98dgt7fflhXi7xwdr8D666RniCtKRAaw59pcdcaw=; b=7XGskGEaEanzfpedqUohrkuPUoZ2sgt2vEjj+i+a6RU43Y74/V+lZwN+5BXTOxLI3TUHAn wG+STzDT8Q6hx8BA== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap Subject: [PATCH printk v4 11/27] printk: nbcon: Fix kerneldoc for enums Date: Wed, 3 Apr 2024 00:17:13 +0206 Message-Id: <20240402221129.2613843-12-john.ogness@linutronix.de> In-Reply-To: <20240402221129.2613843-1-john.ogness@linutronix.de> References: <20240402221129.2613843-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 Content-Transfer-Encoding: 8bit Kerneldoc requires enums to be specified as such. Otherwise it is interpreted as function documentation. Signed-off-by: John Ogness Reviewed-by: Randy Dunlap Reviewed-by: Petr Mladek --- include/linux/console.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/console.h b/include/linux/console.h index e7c35c686720..5f1758891aec 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -137,7 +137,7 @@ static inline int con_debug_leave(void) */ /** - * cons_flags - General console flags + * enum cons_flags - General console flags * @CON_PRINTBUFFER: Used by newly registered consoles to avoid duplicate * output of messages that were already shown by boot * consoles or read by userspace via syslog() syscall. @@ -218,7 +218,7 @@ struct nbcon_state { static_assert(sizeof(struct nbcon_state) <= sizeof(int)); /** - * nbcon_prio - console owner priority for nbcon consoles + * enum nbcon_prio - console owner priority for nbcon consoles * @NBCON_PRIO_NONE: Unused * @NBCON_PRIO_NORMAL: Normal (non-emergency) usage * @NBCON_PRIO_EMERGENCY: Emergency output (WARN/OOPS...) -- 2.39.2