diff mbox series

[09/12] net: mac80211: fix a kernel-doc markup

Message ID cee2e80b47939ce2ea9784368e136eb883eea98b.1656759989.git.mchehab@kernel.org
State New
Headers show
Series Fix several documentation build warnings with Sphinx 2.4.4 | expand

Commit Message

Mauro Carvalho Chehab July 2, 2022, 11:07 a.m. UTC
The markup to reference a var should be just @foo, and not @foo[].
Using the later causes a kernel-doc warning:

	Documentation/driver-api/80211/mac80211:32: ./include/net/mac80211.h:4045: WARNING: Inline strong start-string without end-string.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH 00/12] at: https://lore.kernel.org/all/cover.1656759988.git.mchehab@kernel.org/

 include/net/mac80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 9d8b5b0ee1cb..3e19b0001b41 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -4045,7 +4045,7 @@  struct ieee80211_prep_tx_info {
  *	removing the old link information is still valid (link_conf pointer),
  *	but may immediately disappear after the function returns. The old or
  *	new links bitmaps may be 0 if going from/to a non-MLO situation.
- *	The @old[] array contains pointers to the old bss_conf structures
+ *	The @old array contains pointers to the old bss_conf structures
  *	that were already removed, in case they're needed.
  *	This callback can sleep.
  * @change_sta_links: Change the valid links of a station, similar to