mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 23:23:52 +08:00
staging: ccree: move logical cont. to 1st line
Move logical continuations to first line for readability. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
df33d7928c
commit
b426144f4a
@ -1473,8 +1473,8 @@ int cc_map_hash_request_final(struct ssi_drvdata *drvdata, void *ctx,
|
||||
&dummy, &mapped_nents))) {
|
||||
goto unmap_curr_buff;
|
||||
}
|
||||
if (src && mapped_nents == 1
|
||||
&& areq_ctx->data_dma_buf_type == SSI_DMA_BUF_NULL) {
|
||||
if (src && mapped_nents == 1 &&
|
||||
areq_ctx->data_dma_buf_type == SSI_DMA_BUF_NULL) {
|
||||
memcpy(areq_ctx->buff_sg, src,
|
||||
sizeof(struct scatterlist));
|
||||
areq_ctx->buff_sg->length = nbytes;
|
||||
@ -1590,8 +1590,8 @@ int cc_map_hash_request_update(struct ssi_drvdata *drvdata, void *ctx,
|
||||
&mapped_nents))) {
|
||||
goto unmap_curr_buff;
|
||||
}
|
||||
if (mapped_nents == 1
|
||||
&& areq_ctx->data_dma_buf_type == SSI_DMA_BUF_NULL) {
|
||||
if (mapped_nents == 1 &&
|
||||
areq_ctx->data_dma_buf_type == SSI_DMA_BUF_NULL) {
|
||||
/* only one entry in the SG and no previous data */
|
||||
memcpy(areq_ctx->buff_sg, src,
|
||||
sizeof(struct scatterlist));
|
||||
|
Loading…
Reference in New Issue
Block a user