From: Helge Deller <deller@gmx.de>
To: Ajith P V <ajithpv.linux@gmail.com>, FlorianSchandinat@gmx.de
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] video: fbdev: via: refactor strcpy and viafb_name
Date: Tue, 18 Aug 2026 14:25:00 +0200 [thread overview]
Message-ID: <53d1fe59-dfb4-4eed-b6a8-8d7a40119923@gmx.de> (raw)
In-Reply-To: <20260818111722.471340-1-ajithpv.linux@gmail.com>
On 8/18/26 13:17, Ajith P V wrote:
> Eliminate the single-use file-scope variable `viafb_name` and pass the
> "Via" string literal directly to strcpy().
>
> Since "Via" is a literal constant, the compiler safely executes
> compile-time bounds checking during fortify verification. This satisfies
> the security initiative requirements while minimizing code complexity.
>
> Signed-off-by: Ajith P V <ajithpv.linux@gmail.com>
> ...
> drivers/video/fbdev/via/viafbdev.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
applied.
Thanks!
Helge
prev parent reply other threads:[~2026-08-18 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 11:17 [PATCH v4] video: fbdev: via: refactor strcpy and viafb_name Ajith P V
2026-08-18 12:25 ` Helge Deller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53d1fe59-dfb4-4eed-b6a8-8d7a40119923@gmx.de \
--to=deller@gmx.de \
--cc=FlorianSchandinat@gmx.de \
--cc=ajithpv.linux@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox