[PATCH 2/2] crypto: mxs_dcp: Use sg_mapping_iter to copy data

Herbert Xu herbert at gondor.apana.org.au
Thu Jun 24 17:16:41 PDT 2021


On Thu, Jun 24, 2021 at 10:58:48AM -0400, Sean Anderson wrote:
>
> What exactly is the warning here? dst_iter.length is a size_t, and
> actx->fill is a u32. So fill will be converted to a size_t before the
> comparison, which is lossless.

It's just the way min works.  If you want to shut it up, you can
either use a cast or min_t.

Thanks,
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list