]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: essiv - Remove unnecessary strscpy() size argument
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 8 Apr 2025 11:22:59 +0000 (13:22 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:16:22 +0000 (15:16 +0800)
commitc80d6598ffef3154698fb991c15211762cbf550e
tree0b82b7aa18ff233e341ef396a763481146c1c687
parent6b7f9397c98c72902f9364056413c73fe6dee1d8
crypto: essiv - Remove unnecessary strscpy() size argument

If the destination buffer has a fixed length, strscpy() automatically
determines its size using sizeof() when the argument is omitted. This
makes the explicit size argument unnecessary - remove it.

No functional changes intended.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/essiv.c