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

- From: Mauro Carvalho Chehab \<mchehab@kernel.org\>
- Date: 2022-07-02 11:08:31 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/07/1844199
- Thread: https://ratatoskr.run/linux-doc/2022/07/1844201/t.md

```text
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 --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
-- 
2.36.1

```
