[PATCH 5/5] vfio-mdev: Fix a spelling typo in mtty.c

Chu Guangqing posted 5 patches 2 months ago
There is a newer version of this series
[PATCH 5/5] vfio-mdev: Fix a spelling typo in mtty.c
Posted by Chu Guangqing 2 months ago
This patch fixes a spelling typo in mtty.c

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
 samples/vfio-mdev/mtty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c
index 59eefe2fed10..6cb3e5974990 100644
--- a/samples/vfio-mdev/mtty.c
+++ b/samples/vfio-mdev/mtty.c
@@ -624,7 +624,7 @@ static void handle_bar_read(unsigned int index, struct mdev_state *mdev_state,
 		u8 lsr = 0;
 
 		mutex_lock(&mdev_state->rxtx_lock);
-		/* atleast one char in FIFO */
+		/* at least one char in FIFO */
 		if (mdev_state->s[index].rxtx.head !=
 				 mdev_state->s[index].rxtx.tail)
 			lsr |= UART_LSR_DR;
-- 
2.47.3