Re: [PATCH] staging: fbtft: use scnprintf for fixed-size text buffers
From: Dan Carpenter
Date: Wed Oct 21 2026 - 01:59:40 EST
On Wed, Oct 21, 2026 at 11:22:08AM +0800, LiuJunyuan wrote:
> Replace sprintf() with scnprintf() when formatting the framebuffer
> description strings into fixed-size buffers.
In commits like this, I want some analysis of if this change matters
or not. I would still support a change like this even if it didn't
fix a bug but the commit message needs to say if it's a cleanup or
a fix.
regards,
dan carpenter