Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3246435ybi; Mon, 29 Jul 2019 03:24:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzz20V4JnyiaThb6xvsee0JH/wSy5evHVlsVZ62YyclyLsUoYsutGTgPfB1rIA6HLw2lcx X-Received: by 2002:a17:90a:d791:: with SMTP id z17mr105738762pju.40.1564395896620; Mon, 29 Jul 2019 03:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564395896; cv=none; d=google.com; s=arc-20160816; b=v9gRHBfqeVSK7cODBLGuy7j9ifPtQPuPoPecQfkIh8gLiHbC5sWa0k4uxt8+OvDHkA quok//FBK5jojzJ6Rkk553BPJkectKSOSpwUTt3WPlH795CotsztQeeHlYhUQI7PeXY7 YmeVmPjz//EgA9JMx03N/KgK9TmmWznXCo2blJZaOdYEx7IMF2KS+fxOC5UUWtV72DZK /WbuWiF4cdOaVSIBQHDqrMFqDe8ID3JOm4pkRjLaAgfXXmP3s1c7UJSn6VDy49BdVPRJ N11Ngs81s8WYFRQraghg3OYv49oloSJGH2Fc0Dm4MVJeu3lN+eq4HpzF3YScRrpK892E 28Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=TwrqAonHmXxx/J3ykJmE4apvD2cn+71o4AdAvffVx8A=; b=AIMqPddyl7dFCzLTPibsyQggVLMUurALthJZ5an1e03UO9dm7cWn99U+GHhR3SqbI1 h2IK04ld14hrudpG0PytwHTKMUfx9knjA+ErP0Gi0Hu8pCcJpfKS1HN/3Z+IOlO4pQrV jM3Ojp8UAjItg7HQAvmNCI9ARwb+Ycp0sl1QDdo7n0k4oWQPQhbbZX8WsLbOToA0NajY Me0ygsGSyRh9q22hO6WFvUuh/NfNJvP7CuoicCexnajxDSvHdbkq1AJ9JAlcvEoGCSXV AKUtojHer3Mm2BITqmRd88KD1ZxvLRXG+iFrBcwEwnOGCtOYwhWh0kiCpctcuPhPrJCu XZ/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si29098966pfa.91.2019.07.29.03.24.31; Mon, 29 Jul 2019 03:24:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728122AbfG2KX6 (ORCPT + 99 others); Mon, 29 Jul 2019 06:23:58 -0400 Received: from nbd.name ([46.4.11.11]:51526 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfG2KX6 (ORCPT ); Mon, 29 Jul 2019 06:23:58 -0400 Received: from pd95fd89e.dip0.t-ipconnect.de ([217.95.216.158] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hs2ot-0005aM-G0; Mon, 29 Jul 2019 12:23:55 +0200 From: John Crispin To: Johannes Berg Cc: linux-wireless@vger.kernel.org, John Crispin , Kalle Valo Subject: [PATCH V6 1/2] mac80211: fix ieee80211_he_oper_size() comment Date: Mon, 29 Jul 2019 12:23:41 +0200 Message-Id: <20190729102342.8659-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Johannes mentioned that the comment should not reference mac80211 as other subsystems might call the helper. Signed-off-by: John Crispin Signed-off-by: Kalle Valo --- include/linux/ieee80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index a656f31262f1..9c81895c63c1 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2053,8 +2053,8 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info) * ieee80211_he_oper_size - calculate 802.11ax HE Operations IE size * @he_oper_ie: byte data of the He Operations IE, stating from the the byte * after the ext ID byte. It is assumed that he_oper_ie has at least - * sizeof(struct ieee80211_he_operation) bytes, checked already in - * ieee802_11_parse_elems_crc() + * sizeof(struct ieee80211_he_operation) bytes, the caller must have + * validated this. * @return the actual size of the IE data (not including header), or 0 on error */ static inline u8 -- 2.20.1