[PATCH] USB: serial: io_edgeport: Fix spelling mistake

Zhang Jiaming posted 1 patch 3 years, 10 months ago
drivers/usb/serial/io_edgeport.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] USB: serial: io_edgeport: Fix spelling mistake
Posted by Zhang Jiaming 3 years, 10 months ago
Change 'paramater' to 'parameter'.
Change 'timedout' to 'timeout'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 drivers/usb/serial/io_edgeport.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
index bdee78cc4a07..ffa622539a25 100644
--- a/drivers/usb/serial/io_edgeport.c
+++ b/drivers/usb/serial/io_edgeport.c
@@ -220,7 +220,7 @@ struct edgeport_serial {
 	__u8			rxHeader3;			/* receive header byte 3 */
 	__u8			rxPort;				/* the port that we are currently receiving data for */
 	__u8			rxStatusCode;			/* the receive status code */
-	__u8			rxStatusParam;			/* the receive status paramater */
+	__u8			rxStatusParam;			/* the receive status parameter */
 	__s16			rxBytesRemaining;		/* the number of port bytes left to read */
 	struct usb_serial	*serial;			/* loop back to the owner of this object */
 };
@@ -901,7 +901,7 @@ static int edge_open(struct tty_struct *tty, struct usb_serial_port *port)
 
 	if (!edge_port->open) {
 		/* open timed out */
-		dev_dbg(dev, "%s - open timedout\n", __func__);
+		dev_dbg(dev, "%s - open timeout\n", __func__);
 		edge_port->openPending = false;
 		return -ENODEV;
 	}
-- 
2.34.1
Re: [PATCH] USB: serial: io_edgeport: Fix spelling mistake
Posted by Johan Hovold 3 years, 9 months ago
On Wed, Jun 29, 2022 at 02:41:53PM +0800, Zhang Jiaming wrote:
> Change 'paramater' to 'parameter'.
> Change 'timedout' to 'timeout'.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>

Applied, thanks.

Johan