ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix ieee80211_he_oper_size() comment
@ 2019-06-17 13:04 John Crispin
  2019-06-18 12:24 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: John Crispin @ 2019-06-17 13:04 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k, John Crispin

Johannes mentioned that the comment should not reference mac80211 as other
subsystems might call the helper.

Signed-off-by: John Crispin <john@phrozen.org>
---
 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 e7d23a2cacd8..9b62c3744ed5 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -2062,8 +2062,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


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mac80211: fix ieee80211_he_oper_size() comment
  2019-06-17 13:04 [PATCH] mac80211: fix ieee80211_he_oper_size() comment John Crispin
@ 2019-06-18 12:24 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-06-18 12:24 UTC (permalink / raw)
  To: John Crispin; +Cc: ath11k

John Crispin <john@phrozen.org> wrote:

> Johannes mentioned that the comment should not reference mac80211 as other
> subsystems might call the helper.
> 
> Signed-off-by: John Crispin <john@phrozen.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

Patch applied to ath11k-bringup branch of ath.git, thanks.

a2a012fb1b64 NOTUPSTREAM: mac80211: fix ieee80211_he_oper_size() comment

-- 
https://patchwork.kernel.org/patch/10999233/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-18 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-17 13:04 [PATCH] mac80211: fix ieee80211_he_oper_size() comment John Crispin
2019-06-18 12:24 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox