treewide: fix spelling mistake: "lenght" -> "length"
Subsystems (24)
PATCH v2 1/1 treewide: fix spelling mistake: "lenght" -> "length"
Not a big issue, but can be annoying when searching for the "length" keyword can't find the right code.
Signed-off-by Matteo Croce <[email protected]>
--- Documentation/devicetree/bindings/usb/s3c2410-usb.txt | 2 +- arch/powerpc/include/asm/hvsi.h | 2 +- drivers/clk/samsung/clk.h | 2 +- drivers/gpu/drm/amd/include/atombios.h | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi4_core.c | 2 +- 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 +- drivers/pinctrl/pinctrl-amd.c | 2 +- drivers/scsi/be2iscsi/be_cmds.c | 2 +- drivers/scsi/lpfc/lpfc_debugfs.c | 4 ++-- drivers/staging/comedi/drivers/usbduxfast.c | 2 +- drivers/usb/gadget/udc/aspeed-vhub/epn.c | 2 +- drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c | 2 +- include/net/cfg80211.h | 2 +- kernel/sysctl.c | 2 +- sound/soc/qcom/qdsp6/q6asm.c | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-)
Documentation/devicetree/bindings/usb/s3c2410-usb.txt +1 -1
@@ -4,7 +4,7 @@ OHCI Required properties: - compatible: should be "samsung,s3c2410-ohci" for USB host controller - - reg: address and lenght of the controller memory mapped region + - reg: address and length of the controller memory mapped region - interrupts: interrupt number for the USB OHCI controller - clocks: Should reference the bus and host clocks - clock-names: Should contain two strings
arch/powerpc/include/asm/hvsi.h +1 -1
@@ -64,7 +64,7 @@ struct hvsi_priv {unsigned int inbuf_len;/* data in input buffer */ unsigned char inbuf[HVSI_INBUF_SIZE ];unsigned int inbuf_cur;/* Cursor in input buffer */ -unsigned int inbuf_pktlen;/* packet lenght from cursor */ +unsigned int inbuf_pktlen;/* packet length from cursor */ atomic_t seqno;/* packet sequence number */ unsigned int opened:1; /* driver opened */ unsigned int established:1; /* protocol established */
drivers/clk/samsung/clk.h +1 -1
@@ -26,7 +26,7 @@ struct samsung_clk_provider {void __iomem *reg_base;struct device *dev;spinlock_t lock; -/* clk_data must be the last entry due to variable lenght 'hws' array */ +/* clk_data must be the last entry due to variable length 'hws' array */ struct clk_hw_onecell_data clk_data; };
drivers/gpu/drm/amd/include/atombios.h +1 -1
@@ -4106,7 +4106,7 @@ typedef struct _ATOM_LCD_MODE_CONTROL_CAPtypedef struct _ATOM_FAKE_EDID_PATCH_RECORD {UCHAR ucRecordType; -UCHAR ucFakeEDIDLength;// = 128 means EDID lenght is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128 +UCHAR ucFakeEDIDLength;// = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128 UCHAR ucFakeEDIDString[1 ];// This actually has ucFakeEdidLength elements. }ATOM_FAKE_EDID_PATCH_RECORD ;
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c +1 -1
@@ -708,7 +708,7 @@ int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,else acore.i2s_cfg.justification =HDMI_AUDIO_JUSTIFY_RIGHT ;/* -* The I2S input word length is twice the lenght given in the IEC-60958 +* The I2S input word length is twice the length given in the IEC-60958 * status word. If the word size is greater than * 20 bits, increment by one. */
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 );
drivers/pinctrl/pinctrl-amd.c +1 -1
@@ -489,7 +489,7 @@ static int amd_gpio_irq_set_type(struct irq_data *d, unsigned int type)/* * If WAKE_INT_MASTER_REG.MaskStsEn is set, a software write to the * debounce registers of any GPIO will block wake/interrupt status -* generation for *all* GPIOs for a lenght of time that depends on +* generation for *all* GPIOs for a length of time that depends on * WAKE_INT_MASTER_REG.MaskStsLength[11:0]. During this period the * INTERRUPT_ENABLE bit will read as 0. *
drivers/scsi/be2iscsi/be_cmds.c +1 -1
@@ -963,7 +963,7 @@ int beiscsi_cmd_q_destroy(struct be_ctrl_info *ctrl, struct be_queue_info *q,* @ctrl: ptr to ctrl_info * @cq: Completion Queue * @dq: Default Queue -* @lenght: ring size +* @length: ring size * @entry_size: size of each entry in DEFQ * @is_header: Header or Data DEFQ * @ulp_num: Bind to which ULP
drivers/scsi/lpfc/lpfc_debugfs.c +2 -2
@@ -3969,7 +3969,7 @@ lpfc_idiag_queacc_write(struct file *file, const char __user *buf,* lpfc_idiag_drbacc_read_reg - idiag debugfs read a doorbell register * @phba: The pointer to hba structure. * @pbuffer: The pointer to the buffer to copy the data to. -* @len: The lenght of bytes to copied. +* @len: The length of bytes to copied. * @drbregid: The id to doorbell registers. * * Description:
@@ -4179,7 +4179,7 @@ lpfc_idiag_drbacc_write(struct file *file, const char __user *buf,* lpfc_idiag_ctlacc_read_reg - idiag debugfs read a control registers * @phba: The pointer to hba structure. * @pbuffer: The pointer to the buffer to copy the data to. -* @len: The lenght of bytes to copied. +* @len: The length of bytes to copied. * @drbregid: The id to doorbell registers. * * Description:
drivers/staging/comedi/drivers/usbduxfast.c +1 -1
@@ -61,7 +61,7 @@#define USBDUXFASTSUB_CPUCS 0xE600/* -* max lenghth of the transfer-buffer for software upload +* max length of the transfer-buffer for software upload */ #define TB_LEN 0x2000
drivers/usb/gadget/udc/aspeed-vhub/epn.c +1 -1
@@ -120,7 +120,7 @@ static void ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep)/* No current DMA ongoing */ req->active = false; -/* Grab lenght out of HW */ +/* Grab length out of HW */ len =VHUB_EP_DMA_TX_SIZE (stat);/* If not using DMA, copy data out if needed */
drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c +1 -1
@@ -712,7 +712,7 @@ int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,else acore.i2s_cfg.justification =HDMI_AUDIO_JUSTIFY_RIGHT ;/* -* The I2S input word length is twice the lenght given in the IEC-60958 +* The I2S input word length is twice the length given in the IEC-60958 * status word. If the word size is greater than * 20 bits, increment by one. */
include/net/cfg80211.h +1 -1
@@ -5568,7 +5568,7 @@ void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,* @dev: network device * @macaddr: the MAC address of the new candidate * @ie: information elements advertised by the peer candidate -* @ie_len: lenght of the information elements buffer +* @ie_len: length of the information elements buffer * @gfp: allocation flags * * This function notifies cfg80211 that the mesh peer candidate has been
kernel/sysctl.c +1 -1
@@ -191,7 +191,7 @@ extern int no_unaligned_warning;* file position 0 and the value must be fully contained in the buffer * sent to the write syscall. If dealing with strings respect the file * position, but restrict this to the max length of the buffer, anything -* passed the max lenght will be ignored. Multiple writes will append +* passed the max length will be ignored. Multiple writes will append * to the buffer. * * These write modes control how current file position affects the behavior of
sound/soc/qcom/qdsp6/q6asm.c +1 -1
@@ -1194,7 +1194,7 @@ EXPORT_SYMBOL_GPL(q6asm_open_read);* q6asm_write_async() - non blocking write * * @ac: audio client pointer -* @len: lenght in bytes +* @len: length in bytes * @msw_ts: timestamp msw * @lsw_ts: timestamp lsw * @wflags: flags associated with write
Signature · 1 line
2.20.1
Greg Kroah-Hartman
maintainerQuoted 4 lines · Matteo Croce
Not a big issue, but can be annoying when searching for the "length" keyword can't find the right code.
Signed-off-by Matteo Croce <[email protected]>
Please break this up into a one-patch-per-subsystem patch so that we can all apply it when our different trees open.
thahks,
greg k-h