[PATCH -next] staging: r8188eu: Fix one kernel-doc comment

Yang Li posted 1 patch 3 years, 11 months ago
drivers/staging/r8188eu/core/rtw_ieee80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] staging: r8188eu: Fix one kernel-doc comment
Posted by Yang Li 3 years, 11 months ago
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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/staging/r8188eu/core/rtw_ieee80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/r8188eu/core/rtw_ieee80211.c b/drivers/staging/r8188eu/core/rtw_ieee80211.c
index 385a9ed8eff7..781819478403 100644
--- a/drivers/staging/r8188eu/core/rtw_ieee80211.c
+++ b/drivers/staging/r8188eu/core/rtw_ieee80211.c
@@ -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
-- 
2.20.1.7.g153144c
Re: [PATCH -next] staging: r8188eu: Fix one kernel-doc comment
Posted by Greg KH 3 years, 10 months ago
On Thu, May 26, 2022 at 08:53:42PM +0800, Yang Li wrote:
> 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