Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp65641rdb; Fri, 26 Jan 2024 19:21:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9/HoY/vsvOif/JmI+cRs6aqse77MPQfVX2NAXl+nz7cjPtkh5NcQAodK1UboShi41wwHR X-Received: by 2002:a17:906:c781:b0:a30:ec79:25f3 with SMTP id cw1-20020a170906c78100b00a30ec7925f3mr710868ejb.42.1706325708053; Fri, 26 Jan 2024 19:21:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706325708; cv=pass; d=google.com; s=arc-20160816; b=y1AaPg89nXjvQwRTp7BsZxSyWd0QfPp40Yc9DleZyNGLeOlYEGacfdHhRYxqYLnFno QyE59GA1ZLVrj+UQ9pmqjPNYBlpGQ5XL/pjJ5pbvyq8ueJgvYqw9F2Wmya8UotKBVinp Yre4gBuMHvA0GDaH4khOhXv+RV6cfw7+CrFsyQVmHNadrrcUnmMiGb0xjOK4RoRkcvAZ zmt2Gj4qyl5f/HqNAxEVU6J0+YGUJpro+yjfFU+1Ye1B702+dzlYqrT0EeSMzrjqJZv1 n9RYeZH9VHfx1DctnZkR/NDbDR7e7EQzFS1pa9GxYac8ymJBQ7xU24T4XS+o/Ql2u0Ny XZOA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :feedback-id:message-id:subject:cc:from:to:date:dkim-signature; bh=zo7WPA6m4On219C49bdnFWajxsWtriZPFto+n7Ao+W0=; fh=4DaSNl3TcTwsVFmSlRCFBZCkapdlLY6kcJugEn1CgCA=; b=JJcX4D8K4oqAarJN7ccd0CUu5sfMaDnSlLBxfeHMeB5YhIh2q1yfSG+mG0vqW6eTWq SpI6MoQIGTGeBzJUTDMM3gE2Y4T1sJYbU6wtyMWVtsrIJhaD3jZBPZwejLLMmpBcv80O ZFreyGUV4qABj6SKKkTO3WZ+R1jeAdqLW6EJrU4BC92IObYQjThnX6xzLR32IDGK3uKj O0rOD1vcXL+XI3UnhM+Z6A5+ySEKknyWduB8T2u+jxICfWUQ8dr89kLyEfP97C35Xu5T j/HJ2/cYJ1sCOSH8J3HYwnWKr7TjmAOXf3AzqCkPaqlaK+etH7V1Vdokyuas4lE993kt E9lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=xqH1Y6Kz; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h18-20020a1709063c1200b00a3058e3c4d4si1248591ejg.153.2024.01.26.19.21.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 19:21:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=xqH1Y6Kz; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-41035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com 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 BDBEB1F252EA for ; Sat, 27 Jan 2024 03:21:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88469111B6; Sat, 27 Jan 2024 03:21:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="xqH1Y6Kz" Received: from mail-40133.protonmail.ch (mail-40133.protonmail.ch [185.70.40.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 046ECBA55 for ; Sat, 27 Jan 2024 03:21:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.40.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706325696; cv=none; b=ipbxP6hoykGJqR/cANMxI1irl46rZE0tJ34t8y8zPLQFBG6jBIFH559vSHK+CxkyHgEftx9JK6PUBwTo6Zvoj4XY0RhdgFXxGyiQWk25eX1SBlGbafv333Iu1oCR7g/f0ZQn86d5Q66XuRVigycRIq4krqnc5f59qlQWVIFbgzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706325696; c=relaxed/simple; bh=swUlTqvn833cLHhUHmUuWd12Cvnrh/3sSg3/RxNnToI=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=fU2qTD1klWADhXawpQ8lN++/uKHaDuDx+/X66PVHC2bTbYT1BxSpvTPvkjth7p9C/by6U9ZukNXsvbzNEZiKWd2zBCE06DzVW/o4IdyZd4Szj31DUUDl2xNZCzgOVSfRuHSdwUs+SqA2z9ZT//aOanS0W7+ek4vamRgZSTUFsro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=xqH1Y6Kz; arc=none smtp.client-ip=185.70.40.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1706325687; x=1706584887; bh=zo7WPA6m4On219C49bdnFWajxsWtriZPFto+n7Ao+W0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=xqH1Y6Kz533PuiWbOUu3E5ICObl6Lj6ka2tsHXeVjgOmBofb0CcDTjh4x9EpOV6yS yRJvVk4eC1OabSn1t/8Rg7G6s3AFGqd1BiSxuHDypK7dEPW8roasVpLunqzVonMIOk ehLgtS/7EJ2O6UdU6MFTuIiwxWPxd4rjokIUPrXRpFD6bEoWkuNeI7H4+Q8ZX1ZgQ/ fgnwffdoBacsk6iQUgqhyE1xzMu+hsTdPTpIOYTLbLkyy0IXjgLFFcVJSiJrh9yBai U1BivUVYPAj+A7kzcNOzPP98WwZuqMvgarsXszF7kCUe5JqelQu6JfIVWqTKkBbp+1 89Xn08yZfRX7g== Date: Sat, 27 Jan 2024 03:21:09 +0000 To: tipc-discussion@lists.sourceforge.net From: Carlos Ortiz Cc: skhan@linuxfoundation.org, Carlos Ortiz , Jon Maloy , Ying Xue , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net/tipc: Remove Documentation Warnings for `Excess struct member` Message-ID: <20240127032058.3030-1-jmp0x29A@protonmail.com> Feedback-ID: 24524753:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------8a7865ae482313782a62a2e5020667e351c62284c97e1e61b255d216c997144a"; charset=utf-8 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------8a7865ae482313782a62a2e5020667e351c62284c97e1e61b255d216c997144a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Carlos Ortiz To: tipc-discussion@lists.sourceforge.net Cc: skhan@linuxfoundation.org, Carlos Ortiz , Jon Maloy , Ying Xue , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org (open list:TIPC NETWORK LAYER), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] net/tipc: Remove Documentation Warnings for `Excess struct member` Date: Fri, 26 Jan 2024 21:20:56 -0600 Message-ID: <20240127032058.3030-1-jmp0x29A@protonmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 As far as I can tell,the struct `inputq` and `namedq` were never part of the `tipc_node`, therefor removing the documentation comments this will make the warnings for ./net/tipc/node.c when running `make htmldocs` to be gone. For socket.c, and documentation comment was added on commit 365ad353c2564bba8835290061308ba825166b3a but the struct member was not added in addition of removing `blocking_link` also move `dupl_rcvcnt` documentations a few lines up to match the struct member order. Signed-off-by: Carlos Ortiz --- net/tipc/node.c | 2 -- net/tipc/socket.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/net/tipc/node.c b/net/tipc/node.c index 3105abe97bb9..c1e890a82434 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -86,8 +86,6 @@ struct tipc_bclink_entry { * @lock: rwlock governing access to structure * @net: the applicable net namespace * @hash: links to adjacent nodes in unsorted hash chain - * @inputq: pointer to input queue containing messages for msg event - * @namedq: pointer to name table input queue with name table messages * @active_links: bearer ids of active links, used as index into links[] array * @links: array containing references to all links to node * @bc_entry: broadcast link entry diff --git a/net/tipc/socket.c b/net/tipc/socket.c index bb1118d02f95..a022719882ce 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -80,11 +80,10 @@ struct sockaddr_pair { * @phdr: preformatted message header used when sending messages * @cong_links: list of congested links * @publications: list of publications for port - * @blocking_link: address of the congested link we are currently sleeping on * @pub_count: total # of publications port has made during its lifetime + * @dupl_rcvcnt: number of bytes counted twice, in both backlog and rcv queue * @conn_timeout: the time we can wait for an unresponded setup request * @probe_unacked: prob e has not received ack yet - * @dupl_rcvcnt: number of bytes counted twice, in both backlog and rcv queue * @cong_link_cnt: number of congested links * @snt_unacked: # messages sent by socket, and not yet acked by peer * @snd_win: send window size -- 2.43.0 --------8a7865ae482313782a62a2e5020667e351c62284c97e1e61b255d216c997144a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmW0dqQJEP/88erosmiBFiEEK5py9W+SnfjCVyLD//zx6uiy aIEAAE3RAQDz1vnRwvq19AGgFyW2nVa6d0X9Nv5jXSb69oIW0An7EwEAujd9 ieOXKgSS2WIq3RyNkf+MmZc+8eEgsauBWE3nzgA= =7v4p -----END PGP SIGNATURE----- --------8a7865ae482313782a62a2e5020667e351c62284c97e1e61b255d216c997144a--