Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Chu Guangqing and committed by
Alex Williamson
abe7d636 a52b1a71

+1 -1
+1 -1
samples/vfio-mdev/mtty.c
··· 624 624 u8 lsr = 0; 625 625 626 626 mutex_lock(&mdev_state->rxtx_lock); 627 - /* atleast one char in FIFO */ 627 + /* at least one char in FIFO */ 628 628 if (mdev_state->s[index].rxtx.head != 629 629 mdev_state->s[index].rxtx.tail) 630 630 lsr |= UART_LSR_DR;