brcm80211: fix typos
PATCH 1/1 brcm80211: fix typos
Fix spelling mistakes in brcm80211: "lenght" -> "length". The typos are also in the special comment blocks which translates to documentation.
Signed-off-by Matteo Croce <[email protected]>
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h | 2 +- drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c | 2 +- drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h | 2 +- drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h +1 -1
@@ -36,7 +36,7 @@#define BRCMF_DCMD_MEDLEN 1536#define BRCMF_DCMD_MAXLEN 8192 -/* IOCTL from host to device are limited in lenght. A device can only handle +/* IOCTL from host to device are limited in length. A device can only handle * ethernet frame size. This limitation is to be applied by protocol layer. */ #define BRCMF_TX_IOCTL_MAX_MSG_SIZE (ETH_FRAME_LEN+ETH_FCS_LEN)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c +1 -1
@@ -47,7 +47,7 @@ enum nvram_parser_state {* @state: current parser state. * @data: input buffer being parsed. * @nvram: output buffer with parse result. -* @nvram_len: lenght of parse result. +* @nvram_len: length of parse result. * @line: current line. * @column: current column in line. * @pos: byte offset in input buffer.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h +1 -1
@@ -266,7 +266,7 @@ struct brcmf_event {* @status: status information. * @reason: reason code. * @auth_type: authentication type. -* @datalen: lenght of event data buffer. +* @datalen: length of event data buffer. * @addr: ether address. * @ifname: interface name. * @ifidx: interface index.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +1 -1
@@ -508,7 +508,7 @@ static void brcmf_usb_rx_complete(struct urb *urb) skb = req->skb; req->skb =NULL ; -/* zero lenght packets indicate usb "failure". Do not refill */ +/* zero length packets indicate usb "failure". Do not refill */ if (urb->status !=0 || !urb->actual_length) {brcmu_pkt_buf_free_skb (skb);brcmf_usb_enq (devinfo, &devinfo->rx_freeq, req,NULL );
Signature · 1 line
2.20.1
Re: [PATCH] brcmfmac: fix typos
Quoted 5 lines · Matteo Croce
Fix spelling mistakes in brcmfmac: "lenght" -> "length". The typos are also in the special comment blocks which translates to documentation.
Signed-off-by Matteo Croce <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
2359dd09f981 brcmfmac: fix typos
Signature · 3 lines
https://patchwork.kernel.org/patch/10786663/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches