Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1429018lqm; Thu, 2 May 2024 14:50:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMFsgRSnayf1eJGmBYQZTK1jQSveo5FEgdHe0V6K0t+1W+6M6TCTYJvXeO2ei/u+pqsD4zSzsfMLUgTW7EtuSoL0Kxr2DBFCzGEXfGyA== X-Google-Smtp-Source: AGHT+IEhLrp625V9MrLqx1WfhabF44jlsaM3LT01vUus1UYD7rvCH/Jb+ZMEJ7EW2bnImn/v+dmj X-Received: by 2002:a17:902:c20c:b0:1e4:145a:ee19 with SMTP id 12-20020a170902c20c00b001e4145aee19mr783717pll.50.1714686606119; Thu, 02 May 2024 14:50:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714686606; cv=pass; d=google.com; s=arc-20160816; b=hliSmpn0hpFIXY5+aQV7k120xwc2ysAewv4qFkeIwAeHnVxRpDFaCMsH/9ZBUNrLC1 VUgSrzAjEJsYGxCjtzET2KFB5oWCE646wR/7lIVO2c2HE1eoym/3+gUpviUkx9Y+8jtE etpGjE742eVS2VF9swyNVyfnzPH6h2ZhZl7Vuoa5JB21BurojM2CqUHRAGWPMXCDlVUL /PMAdXTKVT9kkh2zNuNcrCbWBHgYOL9yQ0F3c2d4rAwx3RNQ7GnXmkAomts2e9HCObYM GnPC/MGEmx52nX2bsWh22GeMJz8wdrfFWBXeZKsn7MUPPxJEEeDU/mT7px0DFfWpQhOM /jbQ== 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=Oias+1Ax4KrbbYorG2aEU5ZFjDcXbK21YV2QApk6lYk=; fh=SuxWkfGnc1rTkzcGOyl8L7GCj2sBT2WdH/MzhJoViSw=; b=pVa6dy/7dTkKSq04/68Z/FAgk5NP1O34TD51QqBxZeZxCbMMQwtdVhi6xQo9/ilwTq xg1w2IlDIH4eX/sRWR81Htp7T2BbwN67m2Y/B4YCS/farnz8GvF7JrgcD/6aGrDM2jRi hxtKPEr/+np3SFETQ2VL3Twzk+SIl5T8x6yl+I0Iyl9a8kdSujU59cR5T0NmFw4puEAF +PbK5/7ebdKYMz5ZwqfoMkJgF5o3DzZIOPGsN8LbuDkl+gzfBCDrmywir4ETx9e+fM9G OpC+5OttaeLNO35bLUaFRRdw/NUqsKXLZTU9JoGQ9hpTxPV3NpCrdAuSAYweSonH8t34 b9FA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nYH6AIbc; 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-166965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166965-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y9-20020a17090264c900b001ea96198588si1705083pli.123.2024.05.02.14.50.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 14:50:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=nYH6AIbc; 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-166965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166965-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B08B4289FD2 for ; Thu, 2 May 2024 21:40:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 288321C8FAF; Thu, 2 May 2024 21:38:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nYH6AIbc"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0rPOLxf/" 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 862B91C231D for ; Thu, 2 May 2024 21:38:51 +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=1714685933; cv=none; b=bTYBoOvnwQldiIm+ymo8uRT/n6/TEG2BxYrMvXySefUgC6MDRNW1/MoswNHRVxBLROBx7aBXjLtJpgyvHBvG9TFd+EOayUWP3lwVE/Lge4AhV/kbIrPVyRWHTTz533ad9VxIWlADmvUbBGJFEvpmYdxKzj8uVmvwuRocNBi3XjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714685933; c=relaxed/simple; bh=9Grq66tYc52lVbzlMciVnJKn6pZT7/ppw1afD/fleRE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OYSZt+RUFivNqXrnqmz5jWfz512wALGWbiwa7fMrfMrQWoVJNZr+O4eyX0RK20DtV2eQQJlNAgtCta4362so5X6g/g75s4QFgrcvXxlklTJnpjycuQtjRFWadQ98mmMmzjWpjnTySBlVFIg1FHVcqzAzRXN+Anc+1qMHHzZkc9U= 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=nYH6AIbc; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=0rPOLxf/; 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=1714685930; 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=Oias+1Ax4KrbbYorG2aEU5ZFjDcXbK21YV2QApk6lYk=; b=nYH6AIbcNA8QPlt0tOnDKiW/tsi+t7/yqOJT6sNmNitdzf3LSiVu2fclTkn68B3CEJniIg 3QL9gkvIpBXxjHaX735avSeIufQkOT+tDHmr0gM8Ld1qmCcLHJy+rI5wCJUhw7QGygUNUO q3G4FA9e8B4/8sVxzXXpAKadWAluYfOwbI4mHTyK7quNuopV7G0m8ToKHSrhZWvaH8NnJd a37lkIoyKCsdm7WcSw7uJvUBOic/EM5mosKGqU8I+uiWKfiN+dTOZiOtaytSbG1CKK9Ew9 dfBPy2L3j+XEfdS/JU6JICIKJmUzbYed/jrI6sDGRAAyBHHBaPnrj3CXTXinYw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714685930; 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=Oias+1Ax4KrbbYorG2aEU5ZFjDcXbK21YV2QApk6lYk=; b=0rPOLxf/XfcOzqKBz3DqmUwP1Y9YIM/ER7etnQaRg7Qd0vSJDMwooZvHb2ygHcHcejkoY2 96snNTDsIP5DYuDA== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Randy Dunlap Subject: [PATCH printk v5 14/30] printk: nbcon: Fix kerneldoc for enums Date: Thu, 2 May 2024 23:44:23 +0206 Message-Id: <20240502213839.376636-15-john.ogness@linutronix.de> In-Reply-To: <20240502213839.376636-1-john.ogness@linutronix.de> References: <20240502213839.376636-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 3c20938f3676..71d0638aa818 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