From patchwork Mon Nov 13 14:45:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 118789 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1879319qgn; Mon, 13 Nov 2017 06:46:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMb9XtfP3XsSmoysltj5MvnDLn/7Rc9lkCBjrPyZ4OTIe6g2Yo7Rfr1np0S9yaHVAWc8Sbe2 X-Received: by 10.84.229.143 with SMTP id c15mr9291770plk.389.1510584411447; Mon, 13 Nov 2017 06:46:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510584411; cv=none; d=google.com; s=arc-20160816; b=l0935ipxJALtr69jWKN5U/zmj3T1dzt5qhN8HFyxr5D2Rj6L5wd58k1O32IEe+Eg2s hLR6/FX9SG5Iit+vL6ZBVrHUrNDaHUjzDcJQfeegmUfvXnVDuJhKyNw4aX8k2DdmKE7n GM+W/OOq1tipxRmQXeNBc66PZPI5YFd6r+nseBLLZDMwVVieiVvYYIMhXzyMYUrJ6hbn z8i8Fd2NL26vq6vAByWK/ZBbtE+SZwmb1273BkbFdhXOn5oi59WVCeTZ3DzaXIMTeodx bZdYGAzyAL7R4pl8VuH/fTuZZGOMw1P4UMZip+Bb8eYC1we3Fz0zKRwHuVMMXhUU4IX3 i5hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=y5oTyj6x1Ns+kYGAPy8i7ZBrGYb6DEY6bkx93bUL48I=; b=imVWASuSAmPIDuE/Ycj/rvcC4F9qCq1KLqSHM9PL5eKi78cARBdCbvhrXv4B5gpnQq PmoRfJCQS4BqSz1l5LqSNJTZvZ9Y0i48CdWxpcR8Vd6OJ52DJLHBCk7dIcBKxQ3TfCt9 9zzD7tTgIzmnwjTqEecP4JDf+cLRJbMK5m8+/E460dNgHlQS1Z5e7+/Zot4dCWm98Eqb tXysJWPHaWB+fHewf6jvx5EGUN+nRcmlec7VJYr7bgYORWPeagGkxOBpnFl/fKJddVy+ 0LG72JjHJLpDgnoj21xBGonAbitHrKkAFhWoxMkebTt9WmMQWEPKHbEMshBeuzexMNCX W7BA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si14111439pli.120.2017.11.13.06.46.51; Mon, 13 Nov 2017 06:46:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbdKMOqt (ORCPT + 27 others); Mon, 13 Nov 2017 09:46:49 -0500 Received: from foss.arm.com ([217.140.101.70]:47286 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbdKMOqo (ORCPT ); Mon, 13 Nov 2017 09:46:44 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 682551435; Mon, 13 Nov 2017 06:46:44 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C903F3F318; Mon, 13 Nov 2017 06:46:42 -0800 (PST) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/24] staging: ccree: move logical cont. to 1st line Date: Mon, 13 Nov 2017 14:45:33 +0000 Message-Id: <1510584358-29473-6-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510584358-29473-1-git-send-email-gilad@benyossef.com> References: <1510584358-29473-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move logical continuations to first line for readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c b/drivers/staging/ccree/ssi_buffer_mgr.c index 923a0df..cda5a30 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));