Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2158175pxb; Mon, 8 Mar 2021 16:15:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiQNvI05WqlvAe8D2yqL1tKJBMYr+o3w87DzI3F7WKfXLHsmk2xiBnOW7/oFn8o1O5UpFP X-Received: by 2002:a17:906:b286:: with SMTP id q6mr17723005ejz.422.1615248928951; Mon, 08 Mar 2021 16:15:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615248928; cv=none; d=google.com; s=arc-20160816; b=Rw5WoGYMVkfT9Y0oue+fZm4mnNQ+PdgbRIYCzlWGfWaMQm578TRO25+Y+hL9Arcni2 ru3rxXxzI2kXL3wRGnZSskTP40C4laKxqte6gk9iAYorI2f8rJnIFKTSa58bS/YU8tQt O+YKWTtInf1nkod0AmDwNonEDvTSwMp3ZvsenKT5jespIPJXksGn/Nnhwg4DRnQ+85L+ /K9kXrlqeTPoYE4Yl0Ca3O51IbeRd8dD81gP/jkGanUu+JGIDwib1iAbYkF0FL4JqRxS JYgRz7nFXUsQGCdJxlgiV8kuIXP1iZaqysSesKBiKG1sAhJPm2NvnhpXbUcpdCiMvjKy uAWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=/GaDRGGk05tX0Je/Q0Wp+F5ymXhXO+oe5K7WvkXOx44=; b=xsWxMO09pfQkqPKvg00qsp+VcEgf0qYeGoSpsfYDZezqZBdVYjdNpq+HdIqdVsuU6L 4iM5uvYe9TAnReD2aP4ZEOFVKEF6hrz1mJCKRHfelJhLArlqFJkZd5huGdbQuAfIEnX2 jNoeES7gLYnhACLKTLn9zstT9zHzfLK91bv8oHQTuOIgt5bYggafDWPQlHzmUThmgvwH 5cfgK1+JI9OErIv8RfoI6xdjTJwQ9ZxqZir0Iq+kwYb56exV07+9ZcWBITz8EWFee2wP ccTllmuNlxwXCNOww7zvObbuKRvu5jlvzm/sXJMuPwNncR+XqqKz37o8G4HxY4nnYh0/ cWgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=NuhPYCec; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si3730168edb.566.2021.03.08.16.15.06; Mon, 08 Mar 2021 16:15:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=NuhPYCec; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbhCIAK6 (ORCPT + 99 others); Mon, 8 Mar 2021 19:10:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbhCIAKx (ORCPT ); Mon, 8 Mar 2021 19:10:53 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E47C06174A; Mon, 8 Mar 2021 16:10:53 -0800 (PST) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 1AC042B0; Tue, 9 Mar 2021 00:10:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 1AC042B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1615248653; bh=/GaDRGGk05tX0Je/Q0Wp+F5ymXhXO+oe5K7WvkXOx44=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NuhPYCecyvEzM0T99e+Sr4jhwIW4CA6nfc6+Htep7iqH4whNQ5FGClJS3HtcoNBxR uepPcpzncWWFinGEcVMY7c+OzJrhv7eQ3qcuuFKHEZJw4GdWNe2XIe3YZGOvhKHof7 lTbbPzvzhmI3rlD7UWDUUIW+rLlRT91bzE5iWvJ8A3SCpfGgfo3Xf42uST3EMvqfUK SHx3HvSS9pAbHablHhHPB89TFcrNVEXaplkbpN+K1NFlI/FFGD4VnzIFl4OxQI9M3k 5cT2rMr6M58NP7nKxQEBn77hwtovIutkPrOjsfmI85+7s1mmqS7GXMRTTaL1zfgEqs m+CwSTB/uQ34g== From: Jonathan Corbet To: Mauro Carvalho Chehab , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Andy Shevchenko , linux-kernel@vger.kernel.org Subject: Re: [PATCH] scripts/kernel-doc: ignore identifier on anonymous enums In-Reply-To: <055ad57879f1b9381b90879e00f72fde1c3a5647.1614760910.git.mchehab+huawei@kernel.org> References: <055ad57879f1b9381b90879e00f72fde1c3a5647.1614760910.git.mchehab+huawei@kernel.org> Date: Mon, 08 Mar 2021 17:10:52 -0700 Message-ID: <87czw95gqb.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mauro Carvalho Chehab writes: > When anonymous enums are used, the identifier is empty. > > While, IMO, it should be avoided the usage of such enums, > adding support for it is not hard. > > So, postpone the check for empty identifiers to happen > only at the dump phase. > > Signed-off-by: Mauro Carvalho Chehab > --- > scripts/kernel-doc | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Applied, thanks. jon