Thread (1 message) 1 message, 1 author, 11d ago
DORMANTno replies

[PATCH] staging: sm750fb: fix typo in comment

From: Tomasz Unger <hidden>
Date: 2026-08-22 13:46:57
Also in: linux-staging, lkml
Subsystem: staging - silicon motion sm750 frame buffer driver, staging subsystem, the rest · Maintainers: Sudip Mukherjee, Teddy Wang, Sudip Mukherjee, Greg Kroah-Hartman, Linus Torvalds

Possibly related (same subject, not in this thread)

Fix a typo in a comment: "defaulty" should be "default".

Signed-off-by: Tomasz Unger <redacted>
---
Verified with checkpatch.pl - no new warnings introduced by this change (one pre-existing WARNING at line 15, unrelated to this patch, confirmed via git stash).
---
 drivers/staging/sm750fb/sm750.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 039e2033f84e..725d82d2220c 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -479,7 +479,7 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
 
 	/* check if current fb's video memory big enough to hold the onscreen*/
 	request = var->xres_virtual * (var->bits_per_pixel >> 3);
-	/* defaulty crtc->channel go with par->index */
+	/* default crtc->channel go with par->index */
 
 	request = ALIGN(request, crtc->line_pad);
 	request = request * var->yres_virtual;
---
base-commit: c6eb4dc5964fdf4086b73b7f0f5dc0d595fb5cf3
change-id: 20260822-sm750fb-defaulty-typo-fix-0d05d679c423

Best regards,
--  
Tomasz Unger [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help