]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vfio/mtty: Fix spelling typo in samples/vfio-mdev
authorChu Guangqing <chuguangqing@inspur.com>
Wed, 15 Oct 2025 01:59:54 +0000 (09:59 +0800)
committerAlex Williamson <alex@shazbot.org>
Wed, 5 Nov 2025 19:10:34 +0000 (12:10 -0700)
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>
samples/vfio-mdev/mtty.c

index 59eefe2fed10ca3f080347a980865dfc93e44a00..6cb3e59749902e0e90be5e1b9bde23a6eadf8c2f 100644 (file)
@@ -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;