Loading drivers/crypto/msm/qcrypto.c +1 −1 Original line number Diff line number Diff line Loading @@ -467,7 +467,7 @@ static int qcrypto_count_sg(struct scatterlist *sg, int nbytes) { int i; for (i = 0; nbytes > 0; i++, sg = scatterwalk_sg_next(sg)) for (i = 0; nbytes > 0 && sg != NULL; i++, sg = scatterwalk_sg_next(sg)) nbytes -= sg->length; return i; Loading Loading
drivers/crypto/msm/qcrypto.c +1 −1 Original line number Diff line number Diff line Loading @@ -467,7 +467,7 @@ static int qcrypto_count_sg(struct scatterlist *sg, int nbytes) { int i; for (i = 0; nbytes > 0; i++, sg = scatterwalk_sg_next(sg)) for (i = 0; nbytes > 0 && sg != NULL; i++, sg = scatterwalk_sg_next(sg)) nbytes -= sg->length; return i; Loading