Skip to contentSkip to conversation

sparc: floppy: Replace deprecated strcpy with strscpy in sun_floppy_init

PATCH Andy Shevchenko 2 participants 2 messages Oct 18, 2025 – Oct 22, 2025

lore
Share & tools
lore

Andy Shevchenko

author Reviewed-by
#0 lore raw
Quoted 3 lines · Thorsten Blum

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Is this the only one place in floppy (arch) code?

The change itself LGTM,

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#1 lore raw

Hi Andy,

Quoted 9 lines · Andy Shevchenko
Quoted 3 lines · Thorsten Blum

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Is this the only one place in floppy (arch) code?

The change itself LGTM,

Thanks for the review. The whole series is already in master and removed all strcpy() calls from arch/sparc. I'm not sure about other floppy code elsewhere.

Best,
Thorsten