From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6419143DA20 for ; Fri, 4 Sep 2026 11:39:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788521995; cv=none; b=mASK59ade7ZLzhnBqDl6xMYlLpl4jOCv+mkA4K0d2XuC+dzDcDAPrSf94XtaTlFTeHvtwFumLtWi1rXpQeLLqX8risYL/9sB2FF4zK/K0NwLOxoO0eL+FeHGwHToU6nll7l/+m/+IpntblzSb7smqBmyDTiBx8p1cSHDF//Jztc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788521995; c=relaxed/simple; bh=ZHpQXOmdtqVcYG4CYb/RNohg1NDsdDi8pJ8YkSDbF/g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=amIE02NMUkCmltW2+fdnvV5ej9/2/nV866aZTqemeoE91rKYhPMZIxGIRXVwLPDYhGCNWYg78Q1unP80/w9HvIilWJIIloyGYV1LxBNolysLc32shUCI1KM9pcutDUdtNy8Ldi+MQv+5yPmB67WeiMcmTOCer3Xos3ws5vFITg0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=icTxe01n; arc=none smtp.client-ip=209.85.216.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="icTxe01n" Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-398a4dcf289so1044812a91.2 for ; Fri, 04 Sep 2026 04:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788521992; x=1789126792; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=Xe6EwabIXBD1fwJZlA9EYarG/RJHgSOSX9nc22lp4dc=; b=icTxe01nN5qD3CFgGnPgiObSecUPL9s2GlVNK9mnX+WRmW4Ggwg7ePHlHQbvbWdptC Uf+92letprHtmk65c6BsK0NmdzZYaa3SIA4QoD4EUoIz5rPLHe/Lk1ZeTb5PoPH3/5hY QhNBTkczHj/Kqkr/8cexcEd28l8xU4lSTVmM6yKsL/pbC9/6wvxcoKXv+sUcxbRJePAX 9sUgzh8IzOJlWtWbQ2vqvMf0tE3TLoiYsdDu8XwB4gxKUvNHCDzawgrAisFr81sREdIn c7T6lLNMYeM87K1C7bXkZ1nLaNbWM4qxyw64UCHALZihprADAC/bcA8Z4u7jYHOuZVG/ HbNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788521992; x=1789126792; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Xe6EwabIXBD1fwJZlA9EYarG/RJHgSOSX9nc22lp4dc=; b=fq3jlm0Xrv0t3Y8CNTR/e1db/OqE/opj+6N0WhhTiLNX3O8MnQKFflqawhaJGLtsG6 V604Kd/jtPl0OXXpXckZOxjP8o5IpDLcjFLWt+vdpu8oOUnVpA7+BkpsBSB33bAJQeFp 5btH8/K1DmxhnmRfekcDHhmmOQ1SpigWw+buNfjIjWUbtoo7YZTpFugsHMQVEP1b+oln ZZkWzEen0NCxBJ0bZEtjYaw1JWjoWDZD6o6tmpcT0iNYLwzysS02T/x38Voy8mdSI3QD P1nQG6yNM4dnMxypdkmRL50vuHT18DJHCcyrbHjen5U3dbnK0ethfDXWDdR0XzFl5IE9 NirA== X-Forwarded-Encrypted: i=1; AKwUvBzEQ9upJlE+F0pFA93Kn69R3B1K5PvvywOTE1z3DovjTFmItZ4wO4Qp1uHOzP0DXrkY+rc=@lists.linux.dev X-Gm-Message-State: AFuF++mObM/pcMXEOV3iAuzky206Ozfirfd+pLAWLI+YyA0sDjk/m2Pi /v7sJByJ91tQpWj13d7MfwBkUfzFQtdq0at28puh2svicU1162qQBMlX X-Gm-Gg: AYBFou3oizj6osu9D/8B0w4XkmjL6glaryH5v+a25bEh6XgaaxOAbAt6CfFQgrvzLqB r3FLbtqzlZE3qyg6gikD1Wqg3UPpZz9n9a+Ve5wM17Mtz+x+uSGqEXZKeWkK2S6h0DnhWp4dcwi HB6M+N/NTf2JbVRM8W14lTWYb3jbkp7InUQIiKwWlururWIqmUMa81TLufF6neobrOUgLDlV+1Y cPoM0TS/2jfmx0EEJ09b7Xnvz5u30Rshj44laDabIN7O3mpTdvrxZfQQ36WNndSaneNV7tcbkFS 1bMdYx8H7cYS7NPPmxV/3Z5dtOAVHzqKsr+YmOmznOI/2Z/owvuNSopjyj7KE7hgGKLkXPIQaJr F0/NmOZjWKwUiheUxqrehrqszyRz81nHXfLXQTASaXS8PnCOh/pr2VtDxY1YOK7ycnvrVciWleo XHTuZ5zlFf/aP+ooo6PFf9DNfFh4RdIG2BBRB5BEz0Q6dfVYtklbKQJXXhCwMdxLhuR2gpuUS3X B53yEsKHeaXKc+kir/xM+VD9A9oEgAXWdawlA== X-Received: by 2002:a17:90b:3b88:b0:398:dcfe:968e with SMTP id 98e67ed59e1d1-39b261da746mr7361746a91.20.1788521992489; Fri, 04 Sep 2026 04:39:52 -0700 (PDT) Received: from volcano9f6e-hostos.amd.com ([165.204.217.251]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3339ac24d7esm9124215eec.15.2026.09.04.04.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2026 04:39:52 -0700 (PDT) From: Hemanth Selam To: Greg Kroah-Hartman , Jiri Slaby , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Laxman Dewangan , Thierry Reding , Jonathan Hunter , Patrice Chotard , Peter Korsgaard , Michal Simek Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org Subject: [PATCH] tty: fix typos in comments Date: Fri, 4 Sep 2026 17:09:35 +0530 Message-ID: <20260904113942.22785-1-hemanth.selam@gmail.com> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes. Assisted-by: Cursor:claude-opus-5 Signed-off-by: Hemanth Selam --- drivers/tty/serial/8250/8250_exar.c | 2 +- drivers/tty/serial/ar933x_uart.c | 4 ++-- drivers/tty/serial/atmel_serial.c | 2 +- drivers/tty/serial/imx.c | 2 +- drivers/tty/serial/men_z135_uart.c | 2 +- drivers/tty/serial/mvebu-uart.c | 2 +- drivers/tty/serial/mxs-auart.c | 2 +- drivers/tty/serial/pic32_uart.c | 2 +- drivers/tty/serial/pmac_zilog.c | 4 ++-- drivers/tty/serial/pmac_zilog.h | 2 +- drivers/tty/serial/serial-tegra.c | 2 +- drivers/tty/serial/st-asc.c | 4 ++-- drivers/tty/serial/uartlite.c | 4 ++-- drivers/tty/serial/xilinx_uartps.c | 2 +- drivers/tty/vt/vt.c | 2 +- include/linux/tty_driver.h | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 836792e861bf..1e37e3e5d319 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -587,7 +587,7 @@ pci_fastcom335_setup(struct exar8250 *priv, struct pci_dev *pcidev, } /** - * cti_tristate_disable() - Disable RS485 transciever tristate + * cti_tristate_disable() - Disable RS485 transceiver tristate * @priv: Device's private structure * @port_num: Port number to set tristate off * diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 5b491db9d2fc..118fa8b1e44b 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -343,7 +343,7 @@ static void ar933x_uart_set_termios(struct uart_port *port, ar933x_uart_rmw_set(up, AR933X_UART_CS_REG, AR933X_UART_CS_HOST_INT_EN); - /* enable RX and TX ready overide */ + /* enable RX and TX ready override */ ar933x_uart_rmw_set(up, AR933X_UART_CS_REG, AR933X_UART_CS_TX_READY_ORIDE | AR933X_UART_CS_RX_READY_ORIDE); @@ -490,7 +490,7 @@ static int ar933x_uart_startup(struct uart_port *port) ar933x_uart_rmw_set(up, AR933X_UART_CS_REG, AR933X_UART_CS_HOST_INT_EN); - /* enable RX and TX ready overide */ + /* enable RX and TX ready override */ ar933x_uart_rmw_set(up, AR933X_UART_CS_REG, AR933X_UART_CS_TX_READY_ORIDE | AR933X_UART_CS_RX_READY_ORIDE); diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 5d8c1cfc1c60..c4b465f6a69f 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -40,7 +40,7 @@ /* Revisit: We should calculate this based on the actual port settings */ #define PDC_RX_TIMEOUT (3 * 10) /* 3 bytes */ -/* The minium number of data FIFOs should be able to contain */ +/* The minimum number of data FIFOs should be able to contain */ #define ATMEL_MIN_FIFO_SIZE 8 /* * These two offsets are substracted from the RX FIFO size to define the RTS diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 513dbe95f7e9..0eac2fd2ed37 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -137,7 +137,7 @@ #define USR1_DTRD (1<<7) /* DTR Delta */ #define USR1_RXDS (1<<6) /* Receiver idle interrupt flag */ #define USR1_AIRINT (1<<5) /* Async IR wake interrupt flag */ -#define USR1_AWAKE (1<<4) /* Aysnc wake interrupt flag */ +#define USR1_AWAKE (1<<4) /* Async wake interrupt flag */ #define USR2_ADET (1<<15) /* Auto baud rate detect complete */ #define USR2_TXFE (1<<14) /* Transmit buffer FIFO empty */ #define USR2_DTRF (1<<13) /* DTR edge interrupt flag */ diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c index 9138fa29d301..41dd7059e367 100644 --- a/drivers/tty/serial/men_z135_uart.c +++ b/drivers/tty/serial/men_z135_uart.c @@ -532,7 +532,7 @@ static unsigned int men_z135_get_mctrl(struct uart_port *port) * men_z135_stop_tx() - Stop transmitting characters * @port: The UART port * - * Stop transmitting characters. This might be due to CTS line becomming + * Stop transmitting characters. This might be due to CTS line becoming * inactive or the tty layer indicating we want to stop transmission due to * an XOFF character. */ diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 33ea496c93b2..0306f219feb0 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -942,7 +942,7 @@ static int mvebu_uart_probe(struct platform_device *pdev) /* Manage interrupts */ if (platform_irq_count(pdev) == 1) { - /* Old bindings: no name on the single unamed UART0 IRQ */ + /* Old bindings: no name on the single unnamed UART0 IRQ */ irq = platform_get_irq(pdev, 0); if (irq < 0) return irq; diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 697318dbb146..5355409134da 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1009,7 +1009,7 @@ static void mxs_auart_settermios(struct uart_port *u, if (is_imx28_auart(s) && test_bit(MXS_AUART_RTSCTS, &s->flags)) { if (!mxs_auart_dma_init(s)) - /* enable DMA tranfer */ + /* enable DMA transfer */ ctrl2 |= AUART_CTRL2_TXDMAE | AUART_CTRL2_RXDMAE | AUART_CTRL2_DMAONERR; } diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index 8407f85776c0..1d4adb5c7d88 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -547,7 +547,7 @@ static int pic32_uart_startup(struct uart_port *port) pic32_uart_writel(sport, PIC32_CLR(PIC32_UART_STA), PIC32_UART_STA_UTXISEL1); - /* enable all interrupts and eanable uart */ + /* enable all interrupts and enable uart */ pic32_uart_en_and_unmask(port); local_irq_restore(flags); diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index e3a919328695..31cb2cde3116 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -368,7 +368,7 @@ static void pmz_transmit_chars(struct uart_pmac_port *uap) * R3 still signals the interrupts and we see them when taking * an interrupt for the other channel (this could be a qemu * bug but since the ESCC doc doesn't specify precsiely whether - * R3 interrup status bits are masked by R1 interrupt enable + * R3 interrupt status bits are masked by R1 interrupt enable * bits, better safe than sorry). --BenH. */ if (!ZS_IS_OPEN(uap)) @@ -1929,7 +1929,7 @@ static int __init pmz_console_setup(struct console *co, char *options) port = &uap->port; /* - * Mark port as beeing a console + * Mark port as being a console */ uap->flags |= PMACZILOG_FLAG_IS_CONS; diff --git a/drivers/tty/serial/pmac_zilog.h b/drivers/tty/serial/pmac_zilog.h index 837b97ca0a90..40f47b389b55 100644 --- a/drivers/tty/serial/pmac_zilog.h +++ b/drivers/tty/serial/pmac_zilog.h @@ -21,7 +21,7 @@ struct uart_pmac_port { * early inited port) */ struct macio_dev *dev; - /* device node to this port, this points to one of 2 childs + /* device node to this port, this points to one of 2 children * of "escc" node (ie. ch-a or ch-b) */ struct device_node *node; diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index 8004fc00fb9c..2eb49bcc766d 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1096,7 +1096,7 @@ static int tegra_uart_hw_init(struct tegra_uart_port *tup) * EORD is different interrupt than RX_TIMEOUT - RX_TIMEOUT occurs when * the DATA is sitting in the FIFO and couldn't be transferred to the * DMA as the DMA size alignment (4 bytes) is not met. EORD will be - * triggered when there is a pause of the incomming data stream for 4 + * triggered when there is a pause of the incoming data stream for 4 * characters long. * * For pauses in the data which is not aligned to 4 bytes, we get diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 6ed9a327702b..f065b300ac09 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -378,7 +378,7 @@ static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl) static unsigned int asc_get_mctrl(struct uart_port *port) { /* - * This routine is used for geting signals of: DTR, DCD, DSR, RI, + * This routine is used for getting signals of: DTR, DCD, DSR, RI, * and CTS/RTS */ return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS; @@ -829,7 +829,7 @@ static void asc_console_putchar(struct uart_port *port, unsigned char ch) { unsigned int timeout = 1000000; - /* Wait for upto 1 second in case flow control is stopping us. */ + /* Wait for up to 1 second in case flow control is stopping us. */ while (--timeout && !asc_txfifo_is_half_empty(port)) udelay(1); diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 6240c3d4dfd7..153233fe4347 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -163,7 +163,7 @@ static int ulite_receive(struct uart_port *port, int stat) port->icount.frame++; - /* drop byte with parity error if IGNPAR specificed */ + /* drop byte with parity error if IGNPAR specified */ if (stat & port->ignore_status_mask & ULITE_STATUS_PARITY) stat &= ~ULITE_STATUS_RXVALID; @@ -393,7 +393,7 @@ static int ulite_request_port(struct uart_port *port) ret = uart_in32(ULITE_CONTROL, port); uart_out32(ULITE_CONTROL_RST_TX, ULITE_CONTROL, port); ret = uart_in32(ULITE_STATUS, port); - /* Endianess detection */ + /* Endianness detection */ if ((ret & ULITE_STATUS_TXEMPTY) != ULITE_STATUS_TXEMPTY) pdata->reg_ops = &uartlite_le; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index a072b75dbaf2..7eaf70614f9c 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1476,7 +1476,7 @@ static int cdns_uart_suspend(struct device *device) readl(port->membase + CDNS_UART_FIFO); /* set RX trigger level to 1 */ writel(1, port->membase + CDNS_UART_RXWM); - /* disable RX timeout interrups */ + /* disable RX timeout interrupts */ writel(CDNS_UART_IXR_TOUT, port->membase + CDNS_UART_IDR); uart_port_unlock_irqrestore(port, flags); } diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 8f467b22b799..494749282041 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -1142,7 +1142,7 @@ int vc_allocate(unsigned int currcons) /* return 0 on success */ static inline int resize_screen(struct vc_data *vc, int width, int height, bool from_user) { - /* Resizes the resolution of the display adapater */ + /* Resizes the resolution of the display adapter */ int err = 0; if (vc->vc_sw->con_resize) diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 1f2896e56e77..626e0692c97a 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -22,7 +22,7 @@ struct serial_struct; * These are flags passed to tty_alloc_driver(). * * @TTY_DRIVER_INSTALLED: - * Whether this driver was succesfully installed. This is a tty internal + * Whether this driver was successfully installed. This is a tty internal * flag. Do not touch. * * @TTY_DRIVER_RESET_TERMIOS: -- 2.48.1