Skip to contentSkip to conversation

staging: r8188eu: Fix one kernel-doc comment

PATCH In review Yang Li 2 participants 2 messages May 26, 2022 – Jun 6, 2022 Staging

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 staging: r8188eu: Fix one kernel-doc comment

Remove one warning found by running scripts/kernel-doc, which is caused by using 'make W=1'.

drivers/staging/r8188eu/core/rtw_ieee80211.c:720: warning: expecting prototype for ieee802_11_parse_elems(). Prototype was for rtw_ieee802_11_parse_elems() instead

---
 drivers/staging/r8188eu/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/r8188eu/core/rtw_ieee80211.c +1 -1
index 385a9ed8eff7..781819478403 100644
@@ -707,7 +707,7 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen,
 }
 
 /**
- * ieee802_11_parse_elems - Parse information elements in management frames
+ * rtw_ieee802_11_parse_elems - Parse information elements in management frames
  * @start: Pointer to the start of IEs
  * @len: Length of IE buffer in octets
  * @elems: Data structure for parsed elements
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 6 lines · Yang Li

Remove one warning found by running scripts/kernel-doc, which is caused by using 'make W=1'.

drivers/staging/r8188eu/core/rtw_ieee80211.c:720: warning: expecting prototype for ieee802_11_parse_elems(). Prototype was for rtw_ieee802_11_parse_elems() instead

Again, all on one line please.

thanks,

greg k-h