Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp305088rdb; Tue, 19 Dec 2023 18:28:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuyMSHuqDccCcmY659ncnmBazXgDfd1Ia3SXT+5vazTJfhzAegEh9gRXQjZumd+PbzZ1yn X-Received: by 2002:a05:6214:501d:b0:67f:5b3d:5f24 with SMTP id jo29-20020a056214501d00b0067f5b3d5f24mr3375855qvb.99.1703039309038; Tue, 19 Dec 2023 18:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703039309; cv=none; d=google.com; s=arc-20160816; b=JLT0Va1yg7Ip7gkmJYorzo2KGZs84ABhGozMBn1bVI3diSDx1ZY205mse3fV1FMdTw M5hSq/YYbieXj4ykTRNlOH2Zw/r0NE+6S/xGgicM1fCrdp4gzFrylpUxSFVoGeg7tNWg JyZxZgBeMSxq0OPeT7RvXmCGZo4TX8nhr6khv+ME9OcieFR96zyWexBq9HJEBw1nZOlf e5LzHhr12FVhPk/lgWKEhgzn/ptZ8TOCFGNxDnzb4l2MFGal5nuHvQ8sr/4CvGCbErVe QFJwv4jgqFIrPQdpxSupcR7u8LtjDYj8MnIz2Rg9sso3V879DLIu5BA5DihgFhKgjpRr 4RKg== 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=S6hBBZYUTdu1SR1857lmwvYGVoEU9Tl7+LRs2NQaAd8=; fh=D6m2xQ6ucuyQyZpNC7lRFFd2PmJVsFdq3TkYC4qhXIs=; b=mwLkO8jVmSrUzmXdeyKapMioKzIax5Bp5IGxF207pt+IexLUFyZEmMWKuBMQGpgX3b 397QmWIp3wgD8dqzxoXn8vppYn0V+5lK2FyJwcSsKC/4Ok4/s82dz/TSUn6uI7G4GuIs sQfbrW937A0KTR0uhPX0m1yM5kL5fa533g7dl43i+SfCYkOOWooTV4M2mogfkzOWyhPB +uasj/MY5HvBcSVkUqsCPSK7gTLlFa/0kqS+xZK8omojFXkV3aNuh7489Get/9U8nZIh 7Ej/A7N0mEIlKCyglqEp4Ukh2izJWflrmJzON2L4Ju+UZLQWt06yU+hW0UYeCp5PPtsx uxpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=eDgUbFiY; spf=pass (google.com: domain of linux-wireless+bounces-1056-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1056-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i14-20020a0cf10e000000b0067f62df2af3si2399178qvl.109.2023.12.19.18.28.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 18:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1056-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=eDgUbFiY; spf=pass (google.com: domain of linux-wireless+bounces-1056-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1056-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 AC0E01C24D43 for ; Wed, 20 Dec 2023 02:28:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C12278486; Wed, 20 Dec 2023 02:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="eDgUbFiY" X-Original-To: linux-wireless@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 7F06B846B; Wed, 20 Dec 2023 02:28:23 +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=S6hBBZYUTdu1SR1857lmwvYGVoEU9Tl7+LRs2NQaAd8=; b=eDgUbFiY79P17VReQHuHCRVBo7 54vBKiszoO2sKY7W03M+6FSkyO0rohkApYaptKXK3LKWpI7Zfak54m+3ZnK9J4ZDbmbBFdcDQxFbr dslLnFi8G5uCkYSrg0lS20kIcy4igWQQiR4gA27uEyRKbcNRO/ktcHzHww0Na68RZpkpf4DjL541j cc/GMZtFRuGQ773feihpSavEJjh4LTktm7esjMe6LsShFXYKg9Y1o2p7CNjhLSiMs46I9yfAdd2Yi Mh9rae7qDTWF+5rVls4KJl621Rt4hax8BQr9iuaHSpifQD5HJmJpijJ6mdn5jCTYGlj/R1frWIsLq ClEtFCYg==; 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 1rFmJq-00FyTs-1y; Wed, 20 Dec 2023 02:28:22 +0000 Message-ID: <8fd18c6b-3a26-4cdc-a18f-48587d0ce79b@infradead.org> Date: Tue, 19 Dec 2023 18:28:22 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: cfg80211: address several kerneldoc warnings Content-Language: en-US To: Jonathan Corbet , Johannes Berg Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <87plz1g2sc.fsf@meer.lwn.net> From: Randy Dunlap In-Reply-To: <87plz1g2sc.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/19/23 16:01, Jonathan Corbet wrote: > include/net/cfg80211.h includes a number of kerneldoc entries for struct > members that do not exist, leading to these warnings: > > ./include/net/cfg80211.h:3192: warning: Excess struct member 'band_pref' description in 'cfg80211_bss_selection' > ./include/net/cfg80211.h:3192: warning: Excess struct member 'adjust' description in 'cfg80211_bss_selection' > ./include/net/cfg80211.h:6181: warning: Excess struct member 'bssid' description in 'wireless_dev' > ./include/net/cfg80211.h:6181: warning: Excess struct member 'beacon_interval' description in 'wireless_dev' > ./include/net/cfg80211.h:7299: warning: Excess struct member 'bss' description in 'cfg80211_rx_assoc_resp_data' > > Remove and/or repair each entry to address the warnings and ensure a proper > docs build for the affected structures. > > Signed-off-by: Jonathan Corbet Reviewed-by: Randy Dunlap > --- > include/net/cfg80211.h | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h > index b137a33a1b68..81c46c8e2a68 100644 > --- a/include/net/cfg80211.h > +++ b/include/net/cfg80211.h > @@ -3180,8 +3180,8 @@ struct cfg80211_ibss_params { > * > * @behaviour: requested BSS selection behaviour. > * @param: parameters for requestion behaviour. > - * @band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF. > - * @adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST. > + * @param.band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF. > + * @param.adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST. > */ > struct cfg80211_bss_selection { > enum nl80211_bss_select_attr behaviour; > @@ -6013,7 +6013,6 @@ void wiphy_delayed_work_flush(struct wiphy *wiphy, > * wireless device if it has no netdev > * @u: union containing data specific to @iftype > * @connected: indicates if connected or not (STA mode) > - * @bssid: (private) Used by the internal configuration code > * @wext: (private) Used by the internal wireless extensions compat code > * @wext.ibss: (private) IBSS data part of wext handling > * @wext.connect: (private) connection handling data > @@ -6033,8 +6032,6 @@ void wiphy_delayed_work_flush(struct wiphy *wiphy, > * @mgmt_registrations: list of registrations for management frames > * @mgmt_registrations_need_update: mgmt registrations were updated, > * need to propagate the update to the driver > - * @beacon_interval: beacon interval used on this device for transmitting > - * beacons, 0 when not valid > * @address: The address for this device, valid only if @netdev is %NULL > * @is_running: true if this is a non-netdev device that has been started, e.g. > * the P2P Device. > @@ -7270,8 +7267,6 @@ void cfg80211_auth_timeout(struct net_device *dev, const u8 *addr); > > /** > * struct cfg80211_rx_assoc_resp_data - association response data > - * @bss: the BSS that association was requested with, ownership of the pointer > - * moves to cfg80211 in the call to cfg80211_rx_assoc_resp() > * @buf: (Re)Association Response frame (header + body) > * @len: length of the frame data > * @uapsd_queues: bitmap of queues configured for uapsd. Same format > @@ -7281,6 +7276,8 @@ void cfg80211_auth_timeout(struct net_device *dev, const u8 *addr); > * @ap_mld_addr: AP MLD address (in case of MLO) > * @links: per-link information indexed by link ID, use links[0] for > * non-MLO connections > + * @links.bss: the BSS that association was requested with, ownership of the > + * pointer moves to cfg80211 in the call to cfg80211_rx_assoc_resp() > * @links.status: Set this (along with a BSS pointer) for links that > * were rejected by the AP. > */ -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html