Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp275530rdh; Mon, 18 Dec 2023 20:33:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0cOoUTzYpcyt4H7CdKQ5zsbcvoOkh2nhC/RFgcxDmsbAlYas3nj2hlIdGZRJRFLVGAesv X-Received: by 2002:ac8:5bce:0:b0:425:4043:765e with SMTP id b14-20020ac85bce000000b004254043765emr24371703qtb.134.1702960399290; Mon, 18 Dec 2023 20:33:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702960399; cv=none; d=google.com; s=arc-20160816; b=0bI+Ed4ByWjXQGInVFxIL2PicmKQtqW3oOzUPZoqQW6T4i75yOcfHap2qk2+Sr33uF v4ZpXQxhz1oNtj8hoxwhMXNhDHz2fRWY6dxkNy7DxvYeE4YXGS6nsphWvkZUzFKurUUo SFK+SUmQRSCqOj79+H03bTrAgCDEk20eDtj7RHQnZSJ4FfXNAZvK13sFN2GknCiKlF0m dtMoT4TIc7qDHlozfJC9cJVKfGQBG5ppIo1WAZ/n5C1InAWQR2vICiAUvYIqvSE2BPk0 tmrmj5nMt9betnmkUi2D68wqGfOt/Ti7yInqMpNMzBG7BROiG1gHxO++3zOj/jzVhb19 s40g== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TUfuyA2HikIciWYw2DWYWO3QHNpsWLvhYHuMp80PSzY=; fh=1nRWpJvuhmAMq/oQStkLSEQFPHhSn62fYgp/kRqlp8M=; b=HKRsJfClj+CZBmVhap0H6OnG7EvH896l7EQInIz7KNaJjunFeHZ4V8pilZPjVEvRFj fQ1YvXq7DMQd5iqgiZO5k6CRBbXmMCm0w7bLaL5n3maK7X79rUxc/MiGMEKmWpMp+DLD L1u6do4o1A46o//UkhlXQ20lRGOzKR5ghIzcRl70DcZozZr0OYU8HKCQlcnrMwKdvgMW 9BzUzyXtgYcF9sPSIZUVuBR86J5ojtvHo4WYZ4XxGOKr/bXDFkOP6pKbayDPj8X0+N/B BN6md/j4aKxCgD8sbpb9wTD4V7jVxKd6BcfyU8viTNxcd/1Z4VPNBF616qXVCnQLwDTP z5cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="U/Qzq7dT"; spf=pass (google.com: domain of linux-kernel+bounces-4685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4685-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h12-20020ac8514c000000b004258582ed33si23466621qtn.692.2023.12.18.20.33.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 20:33:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="U/Qzq7dT"; spf=pass (google.com: domain of linux-kernel+bounces-4685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4685-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 08F6C1C21C29 for ; Tue, 19 Dec 2023 04:33:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E45045CB9; Tue, 19 Dec 2023 04:33:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="U/Qzq7dT" X-Original-To: linux-kernel@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 E5B1F11C88; Tue, 19 Dec 2023 04:33:08 +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=TUfuyA2HikIciWYw2DWYWO3QHNpsWLvhYHuMp80PSzY=; b=U/Qzq7dTOUjuDqjUtTxylXhfM4 XROpWSUBRP2XyNyOmQFUz7hc8/jrRmAlvsEqARcGxrmQzAAAEMo0S4BhJa2qD8/kT5DoQWadkWP6P bjlYuD8RRoVTdxoBZ7992qopBaFuYVva1pLHotOUt3h5roAL6pqWID/opGjGak68jxpZ+UlNlMDKx hJrGoeqHNKNZ7NQytTOH1/zEJEyKH/duJHtU3E/EVucv2bH0IPYb+C8GbfL9+oaCOnhkez2NOiFh7 sS9ViVjq2QRSJ+EBWFM5E5jK3qqCBVa3JIQrZb+A9TjlQ0jigJOpz6hliwwj3fpUCz9mHeTzAOOzZ bOL1TrhQ==; 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 1rFRn0-00CneJ-0j; Tue, 19 Dec 2023 04:33:06 +0000 Message-ID: Date: Mon, 18 Dec 2023 20:33:05 -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] tipc: Remove some excess struct member documentation Content-Language: en-US To: Jonathan Corbet , Jon Maloy , Ying Xue Cc: netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <878r5rjasi.fsf@meer.lwn.net> From: Randy Dunlap In-Reply-To: <878r5rjasi.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/18/23 16:28, Jonathan Corbet wrote: > Remove documentation for nonexistent struct members, addressing these > warnings: > > ./net/tipc/link.c:228: warning: Excess struct member 'media_addr' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'timer' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'refcnt' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'proto_msg' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'pmsg' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'backlog_limit' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'exp_msg_count' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'reset_rcv_checkpt' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'transmitq' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'snt_nxt' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'deferred_queue' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'unacked_window' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'next_out' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'long_msg_seq_no' description in 'tipc_link' > ./net/tipc/link.c:228: warning: Excess struct member 'bc_rcvr' description in 'tipc_link' > > Signed-off-by: Jonathan Corbet Reviewed-by: Randy Dunlap Thanks. > --- > net/tipc/link.c | 15 --------------- > 1 file changed, 15 deletions(-) > > diff --git a/net/tipc/link.c b/net/tipc/link.c > index d0143823658d..0716eb5c8a31 100644 > --- a/net/tipc/link.c > +++ b/net/tipc/link.c > @@ -82,10 +82,7 @@ struct tipc_stats { > * struct tipc_link - TIPC link data structure > * @addr: network address of link's peer node > * @name: link name character string > - * @media_addr: media address to use when sending messages over link > - * @timer: link timer > * @net: pointer to namespace struct > - * @refcnt: reference counter for permanent references (owner node & timer) > * @peer_session: link session # being used by peer end of link > * @peer_bearer_id: bearer id used by link's peer endpoint > * @bearer_id: local bearer id used by link > @@ -94,31 +91,19 @@ struct tipc_stats { > * @state: current state of link FSM > * @peer_caps: bitmap describing capabilities of peer node > * @silent_intv_cnt: # of timer intervals without any reception from peer > - * @proto_msg: template for control messages generated by link > - * @pmsg: convenience pointer to "proto_msg" field > * @priority: current link priority > * @net_plane: current link network plane ('A' through 'H') > * @mon_state: cookie with information needed by link monitor > - * @backlog_limit: backlog queue congestion thresholds (indexed by importance) > - * @exp_msg_count: # of tunnelled messages expected during link changeover > - * @reset_rcv_checkpt: seq # of last acknowledged message at time of link reset > * @mtu: current maximum packet size for this link > * @advertised_mtu: advertised own mtu when link is being established > - * @transmitq: queue for sent, non-acked messages > * @backlogq: queue for messages waiting to be sent > - * @snt_nxt: next sequence number to use for outbound messages > * @ackers: # of peers that needs to ack each packet before it can be released > * @acked: # last packet acked by a certain peer. Used for broadcast. > * @rcv_nxt: next sequence number to expect for inbound messages > - * @deferred_queue: deferred queue saved OOS b'cast message received from node > - * @unacked_window: # of inbound messages rx'd without ack'ing back to peer > * @inputq: buffer queue for messages to be delivered upwards > * @namedq: buffer queue for name table messages to be delivered upwards > - * @next_out: ptr to first unsent outbound message in queue > * @wakeupq: linked list of wakeup msgs waiting for link congestion to abate > - * @long_msg_seq_no: next identifier to use for outbound fragmented messages > * @reasm_buf: head of partially reassembled inbound message fragments > - * @bc_rcvr: marks that this is a broadcast receiver link > * @stats: collects statistics regarding link activity > * @session: session to be used by link > * @snd_nxt_state: next send seq number -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html