Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp800362rdb; Sun, 18 Feb 2024 12:26:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWsMjWAu3sP6qK55vxGWLDbGXMYvZy0cDU8JEiMHSr1dBjEc2e7y37nnSJ7aB3cCYFw1KtET884biWnKi0XSI8vKtmqMqPQ5e7Jw55k9g== X-Google-Smtp-Source: AGHT+IHYcfi9u0K3yOFz2Ln74LmaaICS2/H3iohOrKbKn41TraNeLaz29rENMW/JjtY+IGn3GDVK X-Received: by 2002:a17:906:d0c9:b0:a3e:98dd:35c1 with SMTP id bq9-20020a170906d0c900b00a3e98dd35c1mr432778ejb.69.1708287978189; Sun, 18 Feb 2024 12:26:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708287978; cv=pass; d=google.com; s=arc-20160816; b=wBFm6V80CKv3acY6LZ2FGgFZGE7CLRemAPtkMguerlnR4GcS/72Irkx8mp4tmGWw2z VJ6bdxSa+1JiK33hBSKHwZ2eAymqtL9SIefedqgq7859C4MgWywOqFdy2WZ9Ud/F640t oDQObhH8B38MwyuWRz0cggZLGPtfMzFFr+szDLxQWPRbxZ5MCNrmhUykbFy+8vmn4SRR lzHnH59aoRc6kUygZUl2gvCHFwM6rAPmhXqU2m8ZCfdEY3syE4wBNcRIdtSaLwJJruY8 qe1oNC7gDzdlpP1E+orNLprAgl5ugi6q6CFiGddduB0OvTiO1in4K+1IEhh4kkJUue9E BSBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=mzw3JFNrqj9QCCSMwfJzzL23wHmF4f7t1d4OEg6cGmg=; fh=v7QuR921laxgk/7JR3DnybINg3QsEz+D8p2oY9Zk3B8=; b=1Bwp9yX+/JOQB0CTnqC4nFjh/VvL4tgahrdtnIq9qR13kgckHuTQ3ErOFPNnJgzBay rF7pXix8MsDtjlEK53ll6JJoPnsGv6Jvx3gx/r17WlrLJEnl6Ja2vQvEcg9U0iDQ3mYn FRyVrv0qunWf5FSLRjUhBdH3jjR3MuO4P/cCZtZLVNfpwnr+e4WLhJH4mVBGJqzm+dar 5qoNu9EEbV5dhlia4cy55sNUZeU0OU5CUDnX0O/xkanFNgb3YNoIBhukgQI1jdhVGOSl /U5RhK5rVhV2VXxe/ZPvl/iIAworR/WZ320uO8EkJufriNWj529tDBTVt9Q14zE17aRz 56Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Adi8QjoG; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-70540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70540-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g11-20020a1709063b0b00b00a3c0266ed0esi1868810ejf.390.2024.02.18.12.26.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 12:26:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70540-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=@infradead.org header.s=bombadil.20210309 header.b=Adi8QjoG; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-70540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70540-linux.lists.archive=gmail.com@vger.kernel.org" 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 87DCD1F22A26 for ; Sun, 18 Feb 2024 19:11:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D0DB73162; Sun, 18 Feb 2024 19:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Adi8QjoG" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 407EF6F511 for ; Sun, 18 Feb 2024 19:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708283432; cv=none; b=PK5Db7uQ1vu68vj58B9whp7Ldyg1Ju5Sq/H4owmtx3sfdxN90K9omcBtp2xrUzQzvq4nmJcGtN5s6LxW8YpYpMMUPcSnhPG+kcS5Us+8HD118+ptUFJDFejingAvdiJaZ2crODqn4gqrMYYfos1n2he4daDs4BU20UUzmhZE2aM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708283432; c=relaxed/simple; bh=C+4nxFZBqNlqit0yXwEnwf8ZCrqFiLqFqZe2842sj7s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PcMBPxW89oUSGjRF7amKcbzhGmgF8O5arewfSxrKZZ8tJxaMz0/VUqkl5c6OOEW/uOex7iAq4y/WbacuzcQ/Ld8VJ5qLWAvwQwWHkXYfmW4Ei9tPgDGk/M1MJ0DV6Z+fiH4B3zX44xpG3m3sAF60bmz6ErA1XKAfR/1pKdyEFdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Adi8QjoG; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=mzw3JFNrqj9QCCSMwfJzzL23wHmF4f7t1d4OEg6cGmg=; b=Adi8QjoGmsLvn81xZIEjpyOIDV XRnuflwjaEw5tDUro/Dkq42Vdm9RjhUYDlI+O/GqYxMMN1gcJOQJdl0SAe9uVVIG5LWrp+7fqL41H 41hsu+g2vVS62HuPk9XDb1i0MECFzpqvseTqWuT9kUFBhc3JUT39F2xkMLpho6FIz98zX7553RuOd s5bAmnPo6BbuSzQQjYHxV6GEbXFus5AZZ5JtB+i4FCDQINCbKrwiHtzG+FIjHi4OBMPXwuW8ukxZK CLUQ2dq4xQ7Lnvx4lFWrywMvIsbrkET/w4lIYBJtS0ycNnPnE79ckCkpposNN5dU1zQ1KDWCHSv5h K8AK1Y3g==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbmYX-00000008Hko-0kXt; Sun, 18 Feb 2024 19:10:29 +0000 Message-ID: Date: Sun, 18 Feb 2024 11:10:28 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH printk v2 10/26] printk: nbcon: Fix kerneldoc for enums Content-Language: en-US To: John Ogness , Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <20240218185726.1994771-1-john.ogness@linutronix.de> <20240218185726.1994771-11-john.ogness@linutronix.de> From: Randy Dunlap In-Reply-To: <20240218185726.1994771-11-john.ogness@linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/18/24 10:57, John Ogness wrote: > Kerneldoc requires enums to be specified as such. Otherwise it is > interpreted as function documentation. > > Signed-off-by: John Ogness Reviewed-by: Randy Dunlap Thanks. > --- > 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...) -- #Randy