brcmfmac: fix typos in code comments
PATCH v2 1/1 brcmfmac: fix typos in code comments
fix lengh to length
Signed-off-by Weitao Hou <[email protected]>
---
- 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
@@ -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
Quoted 5 lines · Weitao Hou
fix lengh to length
Signed-off-by Weitao Hou <[email protected]>---
- fix prefix
Nice, thanks!
Quoted 3 lines · Weitao Hou
fix lengh to length
Signed-off-by Weitao Hou <[email protected]>
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