2022-05-27 16:14:16

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] 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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
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



2022-06-06 06:41:34

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH -next] staging: r8188eu: Fix one kernel-doc comment

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