tty: fix typos in comments
Subsystems (11)
PowerPC Arm i.MX and Layerscape TTY layer and serial drivers Tegra architecture support +7 more subsystems
PATCH 1/1 tty: fix typos in comments
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 <[email protected]>
--- 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(-)
drivers/tty/serial/8250/8250_exar.c +1 -1
@@ -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 *
drivers/tty/serial/ar933x_uart.c +2 -2
@@ -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 );
drivers/tty/serial/atmel_serial.c +1 -1
@@ -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
drivers/tty/serial/imx.c +1 -1
@@ -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 */
drivers/tty/serial/men_z135_uart.c +1 -1
@@ -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. */
drivers/tty/serial/mvebu-uart.c +1 -1
@@ -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;
drivers/tty/serial/mxs-auart.c +1 -1
@@ -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 ; }
drivers/tty/serial/pic32_uart.c +1 -1
@@ -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);
drivers/tty/serial/pmac_zilog.c +2 -2
@@ -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 ;
drivers/tty/serial/pmac_zilog.h +1 -1
@@ -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;
drivers/tty/serial/serial-tegra.c +1 -1
@@ -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
drivers/tty/serial/st-asc.c +2 -2
@@ -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 );
drivers/tty/serial/uartlite.c +2 -2
@@ -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;
drivers/tty/serial/xilinx_uartps.c +1 -1
@@ -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); }
drivers/tty/vt/vt.c +1 -1
@@ -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)
include/linux/tty_driver.h +1 -1
@@ -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:
Signature · 1 line
2.48.1
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1