Skip to contentSkip to conversation

brcmfmac: fix typos in code comments

PATCH In review Weitao Hou 3 participants 3 messages May 20, 2019 – May 28, 2019

Subsystems (3)
lore
Share & tools
lore

Weitao Hou

author
#0 lore raw

PATCH v2 1/1 brcmfmac: fix typos in code comments

fix lengh to length

---
- fix prefix

---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c +1 -1
index 8ea27489734e..edd2f09613d8 100644
@@ -314,7 +314,7 @@ brcmf_create_bsscfg(s32 bsscfgidx, char *name, char *data, u32 datalen,
 		return brcmf_create_iovar(name, data, datalen, buf, buflen);
 
 	prefixlen = strlen(prefix);
-	namelen = strlen(name) + 1; /* lengh of iovar  name + null */
+	namelen = strlen(name) + 1; /* length of iovar  name + null */
 	iolen = prefixlen + namelen + sizeof(bsscfgidx_le) + datalen;
 
 	if (buflen < iolen) {
Signature · 1 line
2.18.0
#2 lore raw
In reply to Weitao Hou
Quoted 3 lines · Weitao Hou

fix lengh to length

Patch applied to wireless-drivers-next.git, thanks.

b07e1ae2ce53 brcmfmac: fix typos in code comments

Signature · 3 lines
https://patchwork.kernel.org/patch/10950995/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches