Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1521006rdb; Sat, 23 Dec 2023 09:45:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvxK5buKb4dBZxLhFooAr+svTuBwvLMBmQhGFT7idZcnJEoQnpMM2XlS8N+2F77iGqiont X-Received: by 2002:a17:903:2c9:b0:1d3:6c80:95d with SMTP id s9-20020a17090302c900b001d36c80095dmr4654070plk.5.1703353554525; Sat, 23 Dec 2023 09:45:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703353554; cv=none; d=google.com; s=arc-20160816; b=uOwOJCuiJUJQ7fdpG4g5d8C7yLE2PywCFiM9T+zBfU908/iPNgwLH8qe6Ila05arx7 yp3qX+wz29gOZAbrh6mx8zp0ypIdZu7g+lj8aurjIOyCr3UVLAJOYKi6MTDKbiJZjDtv SnLlXZ5BE7Go5Yz5MZnDgN9XcHAPXLE98zIgCJhQrF1aZAOF9hBd31SV/6ivAJDk5szD YaxsJiaGseMHh9QbTFGxRQsKUtvI/tkV9Pu5wuHSI14lbIiCaHRRU+9ohNtsxbyksLVB v5QKLIRd+Rv2hGZ53KP2RiGP0ioXvVzcVHFlSzY431uahCS+YaBzkKsCMMi0z67HfE9s bZcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=OAZZUJXpLeNstNwhdG1ZZmqbS7rxoqyh/Hlt8uKIHOs=; fh=9oD4N0jZoutyNxDvztHjICbCZg7RHfgzKyXZmEdqPiE=; b=HeZdk4BeIRP6BysCi2Iaz6Z5XOMaXiJ0ObMJ3pLkEu/UMiHtX/Jl6S+NC6+L4maYH1 XoDhQgtm8hVuFbW3CSQn/RfO9Te6+ht/BRVKGcjSD1Qncp8h8QPdCq4/EkAk0W94SBBN R91LnAQ+BN6udmJT+kX94zxIJKcnrq/2RvjZzY+rcRDEkIwckBWzYKEL1U6H2hIs4Q84 +yt5e0tV71sWzhNdHcyX5athKEDCL3U2J9vm/BxwaQ4qsyj67lXatYnhMGshM5Gnuif7 OcJy5SfeQEZhTa4eeaLMrMWBnfS4uYdm2y2lyl1uN1x+j+RDMpKjd5R8R0zzyH5LQ2jY c7gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nc64KeSX; spf=pass (google.com: domain of linux-crypto+bounces-985-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-985-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j12-20020a170903024c00b001d3ea5fccb5si5199675plh.121.2023.12.23.09.45.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 09:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-985-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nc64KeSX; spf=pass (google.com: domain of linux-crypto+bounces-985-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-985-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 32B8D282CD2 for ; Sat, 23 Dec 2023 17:45:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 475FC12E5B; Sat, 23 Dec 2023 17:45:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="nc64KeSX" X-Original-To: linux-crypto@vger.kernel.org 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 E2FD812E4C; Sat, 23 Dec 2023 17:45:46 +0000 (UTC) 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=OAZZUJXpLeNstNwhdG1ZZmqbS7rxoqyh/Hlt8uKIHOs=; b=nc64KeSXNthZ6WGe2F1XWhtqKm SiRqKdO3PAaFlrhP/n06Vwro4sYOiilPM5RS99Bbx6eSfhxQWHibWaYrhWzfE1lgv3jKWo3hO8SLZ Qeu2vvG/MQ5rTKFxBEOTEz8B2gEJZ4MibHYsG/owiD5n+ZnbpXm87+UdpDsD0rytc9XTKWWtwZlUt bw4ZX3gEYtruHjcJx0FwwdpqXLUvZ1Tyhd4u1IjKt4KlS9DJFMouc4Hgo19d0hhMuO6mZMl/wNt73 4HF4TDF2SKetyC5XiqTCJdMatmil+6cB0UQZFdyOuJcxpcweZQD18CglYTJixlcL26NVMitfw+8aK PPdZNB3A==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rH64G-008EuA-1t; Sat, 23 Dec 2023 17:45:44 +0000 Message-ID: <7d7fab4f-71e0-4bc2-b622-c2048c32b3f6@infradead.org> Date: Sat, 23 Dec 2023 09:45:44 -0800 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] crypto: shash - remove excess kerneldoc members To: Vegard Nossum , Herbert Xu Cc: "David S. Miller" , linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet References: <20231223083459.3025561-1-vegard.nossum@oracle.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20231223083459.3025561-1-vegard.nossum@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/23/23 00:34, Vegard Nossum wrote: > Commit 42808e5dc602 ("crypto: hash - Count error stats differently") > moved some fields from 'struct shash_alg' into HASH_ALG_COMMON but > didn't remove the corresponding kerneldoc members, which results in > these warnings when running 'make htmldocs': > > ./include/crypto/hash.h:248: warning: Excess struct member 'digestsize' description in 'shash_alg' > ./include/crypto/hash.h:248: warning: Excess struct member 'statesize' description in 'shash_alg' > ./include/crypto/hash.h:248: warning: Excess struct member 'stat' description in 'shash_alg' > ./include/crypto/hash.h:248: warning: Excess struct member 'base' description in 'shash_alg' > > HASH_ALG_COMMON already has the documentation for all these fields. > > Fixes: 42808e5dc602 ("crypto: hash - Count error stats differently") > Cc: Randy Dunlap > Cc: Jonathan Corbet > Signed-off-by: Vegard Nossum Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap Thanks. > --- > include/crypto/hash.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/include/crypto/hash.h b/include/crypto/hash.h > index c7bdbece27cc..5d61f576cfc8 100644 > --- a/include/crypto/hash.h > +++ b/include/crypto/hash.h > @@ -212,13 +212,9 @@ struct shash_desc { > * This is a counterpart to @init_tfm, used to remove > * various changes set in @init_tfm. > * @clone_tfm: Copy transform into new object, may allocate memory. > - * @digestsize: see struct ahash_alg > - * @statesize: see struct ahash_alg > * @descsize: Size of the operational state for the message digest. This state > * size is the memory size that needs to be allocated for > * shash_desc.__ctx > - * @stat: Statistics for hash algorithm. > - * @base: internally used > * @halg: see struct hash_alg_common > * @HASH_ALG_COMMON: see struct hash_alg_common > */ -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html