summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChu Guangqing <chuguangqing@inspur.com>2025-10-15 09:59:54 +0800
committerAlex Williamson <alex@shazbot.org>2025-11-05 12:10:34 -0700
commitabe7d636403b7cbdb8d2d5bab253cfe8087faa7a (patch)
tree7533fb62ff45fe28edd07eaad7033d35c0f57f95
parenta52b1a71120bac2cac691f11b8fd2f64254570f0 (diff)
vfio/mtty: Fix spelling typo in samples/vfio-mdev
The comment incorrectly used "atleast" instead of "at least". Signed-off-by: Chu Guangqing <chuguangqing@inspur.com> Link: https://lore.kernel.org/r/20251015015954.2363-2-chuguangqing@inspur.com Signed-off-by: Alex Williamson <alex@shazbot.org>
-rw-r--r--samples/vfio-mdev/mtty.c2
1 files changed, 1 insertions, 1 deletions
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;