summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-11-13 14:45:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-27 09:20:38 +0100
commitb426144f4a467fdbf44dba1529c17047bc2371bf (patch)
tree3b644fdce18c16f054065d9dae6f563d70ef2865 /drivers
parentdf33d7928c95c6ee990e8d5364048ad6fa5b0685 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ccree/ssi_buffer_mgr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/staging/ccree/ssi_buffer_mgr.c
index 923a0dfb1c69..cda5a30c423c 100644
--- a/drivers/staging/ccree/ssi_buffer_mgr.c
+++ b/drivers/staging/ccree/ssi_buffer_mgr.c
@@ -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));