Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp772173rdb; Sun, 18 Feb 2024 10:59:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdIqyLz9j/R9rd2KPk0MtDPrBdyfgr2+G4UYkWhZPwXP/w3ORqhwLUcnUXKnlFpV24BL55/ZaHe2iRn9COqVb52MljJDwaaGAhUQagzA== X-Google-Smtp-Source: AGHT+IGFUVvsdn8JLky7bX9XaXSvgOVMivFuPI/h//K/aXibpyEBC2VlVcZ77fa0/2R0sphWmwHv X-Received: by 2002:a17:902:e806:b0:1db:c6a0:d023 with SMTP id u6-20020a170902e80600b001dbc6a0d023mr4233896plg.8.1708282760284; Sun, 18 Feb 2024 10:59:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708282760; cv=pass; d=google.com; s=arc-20160816; b=g+czi58bVDs26l/1vJkPxIaDZZwFAPXU4wIKTTPGUBvDuxiNaQh1XcWCNfw5fT4hlZ fH1i5TtJwzfQzVMb1HEA+JtEhxFTv9mTYy2xmbNibY/61LrgfIm6XqxzyEFis1CKJHjh fHJyIglkQnzZ4tWZVk+WxNTDsHEVThQJmyx0C7VsaQOHZDIjfLAJ3dBBJ210eqsXWe0S h92BtFDqvsJhSSgrY5+zzLpY0GPC6263JhX7PwnmJWWenv+xwKVFf3GC7vYb+3I6dr66 gGSIakisiwNY6cqGupi6B/tNc7nx4iNj0P6eNR2nDQ+sF7VdMR/j+ZVpVCOQhE+8gWdh zaQw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z15-20020a170903018f00b001dbe245f9bdsi1409550plg.165.2024.02.18.10.59.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 10:59:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70505-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70505-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 07992B210DE for ; Sun, 18 Feb 2024 18:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62A687319E; Sun, 18 Feb 2024 18:57:58 +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 Content-Transfer-Encoding: 8bit Kerneldoc requires enums to be specified as such. Otherwise it is interpreted as function documentation. Signed-off-by: John Ogness --- 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...) -- 2.39.2