Skip to contentSkip to conversation

Fix spelling typo in samples/vfio-mdev

PATCH Applied Chu Guangqing 2 participants 3 messages Oct 15, 2025 – Nov 7, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Fix spelling typo in samples/vfio-mdev

Fixes for some spelling errors in vfio-mdev

v3:
- The vfio-mdev module patch as a separate thread

v2:
- Merge into a single commit
(https://lore.kernel.org/all/[email protected]/
)
v1:
(https://lore.kernel.org/all/[email protected]/)

Chu Guangqing (1):
vfio/mtty: Fix spelling typo in samples/vfio-mdev

 samples/vfio-mdev/mtty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.43.7
#1 lore raw

PATCH v3 1/1 vfio/mtty: Fix spelling typo in samples/vfio-mdev

mtty.c
The comment incorrectly used "atleast" instead of "at least".

---
 samples/vfio-mdev/mtty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
samples/vfio-mdev/mtty.c +1 -1
index 59eefe2fed10..6cb3e5974990 100644
@@ -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;
Signature · 1 line
2.43.7
#2 lore raw

Re: [PATCH v3 1/1] vfio/mtty: Fix spelling typo in samples/vfio-mdev

Quoted 7 lines · On Wed, 15 Oct 2025 09:59:54 +0800 Chu Guangqing <[email protected]>…

mtty.c
The comment incorrectly used "atleast" instead of "at least".

---
 samples/vfio-mdev/mtty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to vfio next branch for v6.19. Thanks,

Alex