Re: [PATCH] ALSA: hda: tegra: Fix shortname truncation warning

From: Takashi Iwai

Date: Wed Dec 02 2026 - 11:11:07 EST


On Wed, 02 Dec 2026 14:55:12 +0100,
Sreeraj S Kurup wrote:
>
> The shortname truncation check uses '>' instead of '>='.
>
> When the source string length exactly matches the destination
> buffer size, strscpy() truncates the string, but the warning
> is not printed.
>
> Use '>=' to correctly detect this truncation case.
>
> Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@xxxxxxxxx>

Applied to for-next branch. Thanks.


Takashi