summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2016-03-22 13:12:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 20:35:46 +0800
commit654842ef53d7820129a751f5cc620e5a69c694a9 (patch)
tree46a1c898fcaa82c8604e34ec2b4d3f396a6d369d /COPYING
parentf2d1362ff7d266b3d2b1c764d6c2ef4a3b457f23 (diff)
downloadlinux-stable-654842ef53d7820129a751f5cc620e5a69c694a9.tar.gz
linux-stable-654842ef53d7820129a751f5cc620e5a69c694a9.tar.bz2
linux-stable-654842ef53d7820129a751f5cc620e5a69c694a9.zip
lib/mpi: mpi_write_sgl(): fix style issue with lzero decrement
Within the copying loop in mpi_write_sgl(), we have if (lzeros > 0) { ... lzeros -= sizeof(alimb); } However, at this point, lzeros < sizeof(alimb) holds. Make this fact explicit by rewriting the above to if (lzeros) { ... lzeros = 0; } Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions