Loading drivers/crypto/msm/qce50.c +4 −1 Original line number Diff line number Diff line /* Qualcomm Crypto Engine driver. * * Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -2440,6 +2440,9 @@ static int _qce_sps_add_sg_data(struct qce_device *pce_dev, struct sps_iovec *iovec = sps_bam_pipe->iovec + sps_bam_pipe->iovec_count; if (!sg_src) return -ENOENT; while (nbytes > 0) { len = min(nbytes, sg_dma_len(sg_src)); nbytes -= len; Loading Loading
drivers/crypto/msm/qce50.c +4 −1 Original line number Diff line number Diff line /* Qualcomm Crypto Engine driver. * * Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -2440,6 +2440,9 @@ static int _qce_sps_add_sg_data(struct qce_device *pce_dev, struct sps_iovec *iovec = sps_bam_pipe->iovec + sps_bam_pipe->iovec_count; if (!sg_src) return -ENOENT; while (nbytes > 0) { len = min(nbytes, sg_dma_len(sg_src)); nbytes -= len; Loading