From patchwork Sun Feb 18 18:57:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Ogness X-Patchwork-Id: 202840 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp911854dyc; Sun, 18 Feb 2024 11:00:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXWmzo8BIzaLIs+oSeswasJHMNXyvYVZN99s+wOz+n3P9/QU0OJk7i0US5o8PqULbSuzo6ERjJmamZS908Vmo/FI2ufOQ== X-Google-Smtp-Source: AGHT+IGvEseITMho1fJp4XXojWaQ/lMioF0/1USSnbPEifQxlkqUJtrFSSSqIrVI17gQbIJkOt6Z X-Received: by 2002:a17:906:abd8:b0:a3e:1205:a02d with SMTP id kq24-20020a170906abd800b00a3e1205a02dmr4223743ejb.17.1708282819093; Sun, 18 Feb 2024 11:00:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708282819; cv=pass; d=google.com; s=arc-20160816; b=C4bMYDvxQqQnK1SSbseIRwFsF9qySzc9w0acoEoA2HmqAYs1B5r1fKQxzK7PhWSWsx W2MDPwD18kwdfCJcLxUykhIuX5eszgwy1VhrkeuYwHEQsxdAa4609yd6B5ZuIswofSPf Y3O8BZrnBS94Ayje3Pypeo/rZHC2M7mwqQ1/uEcMRhBZ5G6QZ58Yka1mCYNORr+GjWpC Xod2Oq6cl+aZF+14uTBnyrEYF6/AXw/IYQA0ljDiN/k2WU9m1bz2yE7gIzTRhED+cFOY EFodHr2MpFpTjiGHGEx3JaGUdv6pKCHYFgf7rcxmdMyJldnPmRY9pNrF7OMZS8qYKnid TdKA== 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=Do8ewsprPzBc28AvFoSgrf1uIwAex3sQdWFNrubJEIE=; fh=/NZX815RJy/ecOe1WbZ023sSZUJKZnpaeIZwQG5Ym7U=; b=GyYLafgiRKTYHOZUlGmQgT8TlmvaTOloeew1BRVDqFaBdPdmBcI4ayLlOa8gQzlaU2 irvb9NIkWWZpkZ4Okrd8/vA953Fn4AjuyloYb+ybHBTXKdgRDr2Ul8n7lalwzD9EqCmX qXxI3IqgFzJz8DGt6GdEvVIRRitCr7a+sFL6zku2y6gPnvShOZO20N3KRfV32Ihn3aV/ Z17qww54TswYAXEEwtJlizdvz0qWYvbGnuBe2Onl8zzUo77W0AMTNBEVgYNE0f+9z+LB M9HUMs7Y7+ONUtrWM9ZiRowSyzHtVO3j5LJCdiich9YM0mEW1ZvlK7/4apH9SFMBVLpC N22w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="n0WIo/21"; 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-70505-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70505-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jo25-20020a170906f6d900b00a3e874ba560si372823ejb.30.2024.02.18.11.00.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 11:00:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70505-ouuuleilei=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="n0WIo/21"; 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-70505-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70505-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B16811F230F4 for ; Sun, 18 Feb 2024 19:00:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 837BF76021; Sun, 18 Feb 2024 18:58:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="n0WIo/21"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rxjV0DyE" 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 7A6726F09D for ; Sun, 18 Feb 2024 18:57:53 +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=1708282674; cv=none; b=qnyZrIxiFk1Ee5SAEc7/U1gR30f41FRWHrB/Kxi6H6ogBk6GeBW/o++N1ofFENYuKZuXJigqzd5a8gFrbZqpBvE8Hz+aBcAfi0DJkopO0QUsyYg6fOfDOFXN/yLLfGaMrbrVqgrn8WOYNp0Tqa78K5k/+beZmkxr5qGjk/ST9nU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708282674; c=relaxed/simple; bh=dox9/szQb+26iWG6sdrMGBj/6N8EK08NBiaQoryJAZY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=osFYRAlJotSEBhvSR6sqKyFBv9FFvxL+CwHA1hAuV9zXpcGOjvyYn8oZ/479QXias97SZW+48reOMEo9PVaD573Emr7jFtwzEQZIpTmevAdsOTU5PBCFJkLLwEWbqHLDXiSM2m4WjaM7t163Nqe6w5+x92hMjHCEDe2mOgq1udw= 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=n0WIo/21; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=rxjV0DyE; 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=1708282671; 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=Do8ewsprPzBc28AvFoSgrf1uIwAex3sQdWFNrubJEIE=; b=n0WIo/21+og62Xcdgg4mHDaJ9aa+CTHp0s7sApg1zCrn4OCuWxR6QQMEbiCHvbb+dFMm1L V9FnWhjtHIeb1jcwhgPgzjnfISI4Du2Fid4OhSb5q5yRNHbxovscbdrlDAnyqtr5Ot/Dvz NoOrEmSD94iNw1Ij7asEVkJqyzuQoUkXKFubKBHBbASydUM5avhQSJ/lEmOZB48MPTkOww 2fXOOOFQZuvDbsRED3yBvNqNo/77k7k+urNy+DhwMGutAIrdyj5z5wGiJ6uO7NrSrGnbmr hneukamflRKxXUyGNhrOISFNO4NJCHCVL46pWq55uSLBGxplRjEP6lnVlLUs1g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708282671; 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=Do8ewsprPzBc28AvFoSgrf1uIwAex3sQdWFNrubJEIE=; b=rxjV0DyEVlmUerI569cgyyqOJTLFr3BJW/IldEcccb31Wr3M+HzMoQYeQ7O44tY+agL9J3 gl8yKmTbAJdauQDA== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: [PATCH printk v2 10/26] printk: nbcon: Fix kerneldoc for enums Date: Sun, 18 Feb 2024 20:03:10 +0106 Message-Id: <20240218185726.1994771-11-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: 1791264365433635151 X-GMAIL-MSGID: 1791264365433635151 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 5c55faa013e8..d8922282efa1 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -130,7 +130,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. @@ -211,7 +211,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...)