Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6797604rdb; Fri, 15 Dec 2023 08:33:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+2+VNdiW/SfmsN27sX4z7m/ni1N+gTmg62mm7qc6N1ZyoDtqFaR/IvwUDlJwAtsFsB91H X-Received: by 2002:a92:c245:0:b0:35f:8ab7:2fda with SMTP id k5-20020a92c245000000b0035f8ab72fdamr1813486ilo.103.1702657994951; Fri, 15 Dec 2023 08:33:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702657994; cv=none; d=google.com; s=arc-20160816; b=ph4zeXLzBMSmOU6SRVITtzLOiCNuHW8HkC2XzkWp3/H42/fKMJpKt0yVSjyJWLHwMU SgFakkcdJLPyqyO3Dpt0fcQISx4E9ciU1s5cDNhRIw33q+omUNoil7QINeWf9g8GtopS FrGDc0YeIw5vncIQcFM77tVh5MOReFAMMKq151HGTfcSXdgG+Bg2BS83PsZd8KkBFBnm SiLgIQGN/SLAPip1Coe2nUHlp+Zyn6n9IXVsmAueCiw3EOZY95rtl14pEmE7mpcAmiVi a5kw/e7GFZd8czU4g+9imupv2zg4mIY44oN/6x4siUmhBMwrsdKlYgTKnXqSx8gYl9IZ F6zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=KjM0uDHwoedhIhQVgnSasUQJXO8rGVyBZqDNKz1WErA=; fh=8LKahrIB4p4+9idZwaV1kGBmd4zewNagZAstsyUNVP8=; b=sX7Hi3C9KYzuDk/mF7DvkkHifHbQ8D81lwtAYV+8leTPAu4WUL2J0GuOEjCzAoMgLR uLwdBtODa08Of6+xaROF1tvwJsZk/rhtmD4o2fr+U53VwC8MAJtUvVN+JIPeswZBiVmM qdUEvHqBSzeiuM7LCKccvFxowp+jiceRDzFD2BW2wedbOcww6VGbmjFpLU/BknEUfZc9 IUbJSfS0yMePKVS3paDp60T16VrxgoIz7RjUOEIzSO7Q73Mi4rKLINrhObueXme/a4yx 7oEB7vHjIsaZCakHrtb6sEbmTwQA01QHdNZSFPksumtaqMztiUOsv7ONVSUhFmSu7HFB zYLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b="m/GBrl5i"; spf=pass (google.com: domain of linux-kernel+bounces-1303-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1303-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m7-20020a635807000000b005c665c81b7bsi12945660pgb.36.2023.12.15.08.33.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:33:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1303-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=@lwn.net header.s=20201203 header.b="m/GBrl5i"; spf=pass (google.com: domain of linux-kernel+bounces-1303-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1303-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 47F0AB225E7 for ; Fri, 15 Dec 2023 16:33:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27E893EA8D; Fri, 15 Dec 2023 16:32:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="m/GBrl5i" X-Original-To: linux-kernel@vger.kernel.org Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 ED8E43EA80; Fri, 15 Dec 2023 16:32:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (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 3A20B46A; Fri, 15 Dec 2023 16:32:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 3A20B46A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1702657963; bh=KjM0uDHwoedhIhQVgnSasUQJXO8rGVyBZqDNKz1WErA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=m/GBrl5i2R05TWh1mwjks7R8qBSB+XZhb7G4JkGOjRe8NAPT11IcuDBd2hib+SeMz b6TvYlQiveUH5Tvr9Foikreg5HBivWZFkqf/o1hLwm8++z4RTfp0wUi/B2iHmI94f2 Hl0dCZClKvqk4UjgGVIdhoqzuIL8UipVttkBYN3YcU/PhpdnzbaA8eZd7dSzMUcKd/ YaQWV5hNL8vjkxvHKKBCpu8PhbVh1uFO04m1iu8zRqHgBCx8bspsQkCoW5xNv8gqun Lwq+9IC9+Yzaaq3klVIR0BLyT5urKtxFux1EBomdKsonlWPXkmhLYM5f3NpGQUanxx kr2p0nMECY2xw== From: Jonathan Corbet To: Kees Cook Cc: Kees Cook , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] scripts: kernel-doc: Clarify missing struct member description In-Reply-To: <20231215001513.work.563-kees@kernel.org> References: <20231215001513.work.563-kees@kernel.org> Date: Fri, 15 Dec 2023 09:32:42 -0700 Message-ID: <87sf43pgt1.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kees Cook writes: > The output "or member" should be more specific, instead saying "struct > member". > > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Signed-off-by: Kees Cook > --- > scripts/kernel-doc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/kernel-doc b/scripts/kernel-doc > index 39e730ee1fef..41f838042364 100755 > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1613,7 +1613,7 @@ sub push_parameter($$$$$) { > $parameterdescs{$param} = $undescribed; > > if (show_warnings($type, $declaration_name) && $param !~ /\./) { > - emit_warning("${file}:$.", "Function parameter or member '$param' not described in '$declaration_name'\n"); > + emit_warning("${file}:$.", "Function parameter or struct member '$param' not described in '$declaration_name'\n"); > } Applied, thanks. jon