]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: stm32 - Replace min_t(size_t) with just min()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 13 Jan 2026 08:31:28 +0000 (09:31 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jan 2026 02:52:30 +0000 (10:52 +0800)
commit9c5582db77199f8fbcf45e531198df5b97d5ee7f
tree12120daaf2f20706c97b73e838c6ffaf79417e2e
parentf42116458d01e9bb8586613063028ab8c7070856
crypto: stm32 - Replace min_t(size_t) with just min()

In most cases, min_t(size_t) and explicit casting are unnecessary
because the values ->hw_blocksize, ->payload_{in,out}, and ->header_in
are already of type 'size_t'. Use the simpler min() macro instead.

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