Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1876549lqb; Sun, 26 May 2024 23:39:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnuBZU17Pc+DUr459G5XU0M17pNmSmM27+fRdlu84kiefd62HyM584jVeYZLl84Wl08Tugql6JazPjnixIYNTn7LfkMMYmVMX0AYXVIQ== X-Google-Smtp-Source: AGHT+IE4fp1YpXll7VjG2SOCjnnuRyPPdxPSRnLa1HRGIiRJ8jU+9leJu5Oe+TqW5biIs6JrnG73 X-Received: by 2002:a17:906:36cc:b0:a5c:df72:27aa with SMTP id a640c23a62f3a-a6265114b63mr553092266b.59.1716791999042; Sun, 26 May 2024 23:39:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716791999; cv=pass; d=google.com; s=arc-20160816; b=s7LJdI/wTaGGwpYDnyFCaosdaoSVZYBsdqY1DuJGCnnXq2pDu6Kz8qKn9UZx+Cmyix 3j30g4JLse2yxT/qv30kpnYPX8GGOkGfwU77kEnX4ZwDXuzK/+6NJlTwW41a6uKDKT3L tUfwcJ2dFRviMN4owb5S/6lCIAYPGb/+yMz09HEP+vj6kfUW+ofE47J2o1ugnfFEGfBB 1DvH3CIJoD0criFsOulZ5joZKvjicBToS1Kx1YGFJU0gSKQ5R+gueFykc4oCZtp8nlAi fWM95HJjGV2J8fOPVBOPYcVjgduHjVMJGCcc9zQoACYUBa5oX5WWL6r0BdZSrD85JeAy btyw== 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=KpkOnoEtjNOpdOq64j/1rkP+WasLftMlBbDsyMeeGFk=; fh=SuxWkfGnc1rTkzcGOyl8L7GCj2sBT2WdH/MzhJoViSw=; b=oMbFBqvtF7OZ5IpcNnZ9oMmWEhivsjp4rUcz7P0e4OcPLfRJB3nW2Xz/PXOBtv0k/w vTowdsubgMvie1Ca/iYRaewwMxDVEq6BnRA5a4bjwfz0cwesS2N5kmGEi//Dg4xz13OS m7dNhNFW5NoYNDunygo/x+/AQaNEBzrqBe4wU2et8EbUuqLouIkPCZD4TJ0dov2w8rkm 9IC1RB6yuG9jNcmPB2LjsIzrkOm0sdbYabH5cYH2e23PrqCwaR2VJIZ+b2tVKQMCNdC+ jd5nqE3EnVwaVWIg1mrrpoV+ET7Vgeb5fm2NfJpKxu1HW4OYp36sqUHJjruw0wpMjlmr g/nQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sMp6+EjY; 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-190087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc6a859si348998866b.630.2024.05.26.23.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 23:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sMp6+EjY; 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-190087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190087-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C4B2E1F211B7 for ; Mon, 27 May 2024 06:39:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 908C769D2F; Mon, 27 May 2024 06:38:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="sMp6+EjY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="I+bsIqBG" 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 BD41639AC9 for ; Mon, 27 May 2024 06:38:23 +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=1716791905; cv=none; b=P1+0t+Bn3SPPctq4u88bM7owtk872uPv4XMW2fN8A++6v1sHBCdEIlZHbSQ9vhQFkG6pPynS9pgsnQBPVCeLXyeObvGFhDKJEyawCuVyBoukhii5dlaIfo7lTVCqBdC0SheChQMqpkSkbtfK6VK5zpr/icpRpk+m+qr89gLRwEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716791905; c=relaxed/simple; bh=e+s5yp9kuOUcSKomNwvNgs7LuhomtVTH2kEePY50ErY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cPKt40vtaZcgz4+uNBtazTVa6uMTr55nn7qUY2rYsJPv1JlJEHbN0fqs5VZDm5zjJ/+UOxlKc/kItu/z2eRI7tjbTj5e7AObczGDXsZzenYgynzvWUVg6h1c2pUlAkq7RFfVN77nF3A08beMHzzo5VA5g8JJCMAZk2fj6S7rCYw= 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=sMp6+EjY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=I+bsIqBG; 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=1716791902; 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=KpkOnoEtjNOpdOq64j/1rkP+WasLftMlBbDsyMeeGFk=; b=sMp6+EjYeS6YAY8SgyjF5e5BXoJxOg4s7avGTViMvziV0zJ7G+yUbtCWn4sU/v0vRqCov2 ZKAaEAT7RtL4kLaDAJqQrQdULBaq3Tdi0Oxj3QMBRp/qvcynfBhI3rjlezvV2pzBCupVDj TGrxOuVwDqAsERWrk9Dp4LHpr/6jHWRTOepLEJA8OuB65VhFWC4X2Z/9hhyWo2uxXgku0I ri3omk2qAcp+QO9OkwuwAsjzHm/+lrbyHZSm1LBY0RsRSdeACNq8LpQGO4Ugap+lzf7hxU bhfJEe0EWoJR9gWsOVW4onT3Bgg9Ab0GBJjXAu4wEOf1lHheqd9PtepDAfTH3g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716791902; 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=KpkOnoEtjNOpdOq64j/1rkP+WasLftMlBbDsyMeeGFk=; b=I+bsIqBGpA1zIjFTPZZYJf+8xCoHy4GUJF1NxokOLusl4kQi/uAQRjr3mrc6c4+p5gailH DzNeZXV7TnfptnDQ== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap Subject: [PATCH printk v6 14/30] printk: nbcon: Fix kerneldoc for enums Date: Mon, 27 May 2024 08:43:33 +0206 Message-Id: <20240527063749.391035-15-john.ogness@linutronix.de> In-Reply-To: <20240527063749.391035-1-john.ogness@linutronix.de> References: <20240527063749.391035-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 dd3d4b5d3737..729f7c3b10c1 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