From patchwork Tue Dec 12 14:52:50 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: 121525 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4222016qgn; Tue, 12 Dec 2017 06:54:11 -0800 (PST) X-Google-Smtp-Source: ACJfBovhaer/gRQKw4/GkbiTeVONiqTSmYQXqdA2W1Va61CXFc7J1lxju09oO7zDT8j7Xh/V8ONp X-Received: by 10.101.92.74 with SMTP id v10mr2256922pgr.193.1513090451286; Tue, 12 Dec 2017 06:54:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513090451; cv=none; d=google.com; s=arc-20160816; b=rYlHa3BFlbyE1uaUWswXzmoE3yXc3nqHpIziW+NKH0YxEMLxVyg6TBvvEMwb7rCgY9 JQ3T0Qld2dSshwYXARO75W5WiFc36d8WwOjaXf9RVHU/Ss9W2pAhYcgJLw9jysSJE302 yVcFRvnv4rJMRLF07MTZAprq3Y+6UHkFBRdRlM4+KiD3MK7IvS9bOaWC2f3qEKdLQovf 7qltO6QiYt7LcgA0pk/Yf8//3BzRfILdOWwe+fP/jKloXz6PqVHG9pqOj0j/E0cGma1D p9fiYXiXnFZg3fIVEZxBprQs4N3XlD9y//mH4T3C8aFVlkBSojvRigV8gMZhvjLFZ9r2 bDmg== 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=wMyB5LMuOBJgfrYDol7+fi4hiVG4yBrVnLkVZli/7fk=; b=uNg6w5gnBomZBx0VnsyKV+5CJyI+wIzisNgdmFq4706IY9Jn3GJiue5T1HgD+3tNSn zZJ7u6ee+gf055Yj+1fyuNwlvBHzuu/DlvvJpljIQcDQNY0xE091iOSwex405oHc2wbk cayw63xNXo+pUYM9c4WeBGTqpzi2H5I2wxQI9J1wgz66KiSSrqWUw+ojG+fVextlfshU FlHwvUhbM7sZ6qVX1dHDVbS1iDxIK332mdhnocX+MApRtqvnTJTZdtMRLc//V8IXnIkn 4UfAkcV3oUDhqhkm2e2BiAtCpNUUFxBgl6YbdR2jpZ+6Ucyn7wbkn+Yrz41rTUFc9R2y bWLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 f84si11276354pfd.161.2017.12.12.06.54.11; Tue, 12 Dec 2017 06:54:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbdLLOyJ (ORCPT + 1 other); Tue, 12 Dec 2017 09:54:09 -0500 Received: from foss.arm.com ([217.140.101.70]:45032 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbdLLOyC (ORCPT ); Tue, 12 Dec 2017 09:54:02 -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 819E015BE; Tue, 12 Dec 2017 06:54:01 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.196]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C5F4B3F577; Tue, 12 Dec 2017 06:53:58 -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 04/24] staging: ccree: func params should follow func name Date: Tue, 12 Dec 2017 14:52:50 +0000 Message-Id: <1513090395-7938-5-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513090395-7938-1-git-send-email-gilad@benyossef.com> References: <1513090395-7938-1-git-send-email-gilad@benyossef.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix some call sites with func params not following func name in AEAD code. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c index 408ea24..75a578e 100644 --- a/drivers/staging/ccree/ssi_aead.c +++ b/drivers/staging/ccree/ssi_aead.c @@ -1226,8 +1226,9 @@ static void cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[], struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); struct aead_req_ctx *req_ctx = aead_request_ctx(req); int direct = req_ctx->gen_ctx.op_type; - unsigned int data_flow_mode = cc_get_data_flow( - direct, ctx->flow_mode, req_ctx->is_single_pass); + unsigned int data_flow_mode = + cc_get_data_flow(direct, ctx->flow_mode, + req_ctx->is_single_pass); if (req_ctx->is_single_pass) { /** @@ -1278,8 +1279,9 @@ cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[], struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); struct aead_req_ctx *req_ctx = aead_request_ctx(req); int direct = req_ctx->gen_ctx.op_type; - unsigned int data_flow_mode = cc_get_data_flow( - direct, ctx->flow_mode, req_ctx->is_single_pass); + unsigned int data_flow_mode = + cc_get_data_flow(direct, ctx->flow_mode, + req_ctx->is_single_pass); if (req_ctx->is_single_pass) { /**