From patchwork Tue Jun 27 07:27:12 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: 106387 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp906227qge; Tue, 27 Jun 2017 00:27:40 -0700 (PDT) X-Received: by 10.98.62.131 with SMTP id y3mr3860362pfj.49.1498548459991; Tue, 27 Jun 2017 00:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498548459; cv=none; d=google.com; s=arc-20160816; b=gkaYpsXqkY7vOLjvh9GVzCIFSHJMF1j0IZRJC4sqUincc/5+Y0vqq1bVo25dHcICA+ OQAtBlMoVrXqHXlA4w1r7/vPI1abZNYIM1v1Yss9xagQO5hKs9Q/2ybA8beTlwjtYN// k2beKQnQOTlNuE+v4P8iwez78BYjqHLylBV2nTUtT6k4M7NpXyYeeEPaZ7ZdNCUpd6gs UHFVz5yZyvsqzud1iFracccwAxgKBrLbcwNJF+mzF7KGLG7SoGHEBn3oVc0Q7RgyC8EZ AdeXyh8qeIq7IcahVYBj2Zy4eigoEXKv2CYz0LbBWMwr9UYGC+t66BQs959Nl5G72VcN K8hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yuTIWMJt2JP/xC7Ym/1pTRMjocqX5Sx6dXoe3q2ZJtU=; b=lR5Pv+Iyjw9DhnVByBvp6UUleG5loXaMQYmCxBppgjyY8usmEvjAgldkNDrSfvSnRC dNId42/n8Zs+6vDvM/jg3IMjsxju52x00SC9/3hjzU6k9CtuJ83bYgvFzUukXB66zlNe EVHEM2KdppfQ7Og/bVgmap3oRfZm1DSdqb0Mrf2xYGNyGuOLyMfnkhohuIlfL4y/onGs op/M8ki+/GeXp3SuLEHjvC+QDJQBOKiqtM0Cl0MPae9WZTw/caTiuazp3Q1Z+hAq8AuT fP2i1GKxndJf5q653eo19i4xZBbcLeTrNGuuet7FyviUx8FNZ6lJeBTPEzyCMewYKFtq +vZQ== 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 b66si1425796pfg.448.2017.06.27.00.27.39; Tue, 27 Jun 2017 00:27:39 -0700 (PDT) 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 S1751538AbdF0H1i (ORCPT + 1 other); Tue, 27 Jun 2017 03:27:38 -0400 Received: from foss.arm.com ([217.140.101.70]:52392 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdF0H1h (ORCPT ); Tue, 27 Jun 2017 03:27:37 -0400 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 438CF344; Tue, 27 Jun 2017 00:27:37 -0700 (PDT) Received: from gby.kfn.arm.com (unknown [10.45.48.148]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B3F343F4FF; Tue, 27 Jun 2017 00:27:35 -0700 (PDT) From: Gilad Ben-Yossef To: Greg Kroah-Hartman , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Ofir Drang Subject: [PATCH 00/14] staging: ccree: coding style fixes Date: Tue, 27 Jun 2017 10:27:12 +0300 Message-Id: <1498548449-10803-1-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix a bunch of coding style across the whole ccree driver Gilad Ben-Yossef (14): staging: ccree: fix missing or redundant spaces staging: ccree: drop comparsion to true/false staging: ccree: fix else placement staging: ccree: remove redundant blank lines staging: ccree: no need for braces for single statements staging: ccree: fix unmatched if/else braces staging: ccree: remove comparisons to NULL staging: ccree: fix pointer location staging: ccree: remove custom type tdes_keys_t staging: ccree: remove custom type ssi_fips_error_t staging: ccree: remove custom type ssi_fips_state_t staging: ccree: remove unused type CCFipsSyncStatus_t staging: ccree: remove/add (un)needed blank lines staging: ccree: fix block comment style drivers/staging/ccree/Kconfig | 2 +- drivers/staging/ccree/cc_hw_queue_defs.h | 8 +- drivers/staging/ccree/ssi_aead.c | 142 ++++++--------- drivers/staging/ccree/ssi_aead.h | 20 +- drivers/staging/ccree/ssi_buffer_mgr.c | 301 +++++++++++++++---------------- drivers/staging/ccree/ssi_buffer_mgr.h | 1 - drivers/staging/ccree/ssi_cipher.c | 124 +++++-------- drivers/staging/ccree/ssi_cipher.h | 6 - drivers/staging/ccree/ssi_driver.c | 50 +++-- drivers/staging/ccree/ssi_driver.h | 4 +- drivers/staging/ccree/ssi_fips.c | 16 +- drivers/staging/ccree/ssi_fips.h | 15 +- drivers/staging/ccree/ssi_fips_data.h | 20 +- drivers/staging/ccree/ssi_fips_ext.c | 20 +- drivers/staging/ccree/ssi_fips_ll.c | 101 +++++------ drivers/staging/ccree/ssi_fips_local.c | 107 +++++------ drivers/staging/ccree/ssi_fips_local.h | 20 +- drivers/staging/ccree/ssi_hash.c | 101 +++++------ drivers/staging/ccree/ssi_hash.h | 6 +- drivers/staging/ccree/ssi_ivgen.c | 9 +- drivers/staging/ccree/ssi_ivgen.h | 1 - drivers/staging/ccree/ssi_pm.c | 25 +-- drivers/staging/ccree/ssi_pm.h | 5 +- drivers/staging/ccree/ssi_request_mgr.c | 102 +++++------ drivers/staging/ccree/ssi_request_mgr.h | 6 +- drivers/staging/ccree/ssi_sram_mgr.c | 4 +- drivers/staging/ccree/ssi_sram_mgr.h | 1 - drivers/staging/ccree/ssi_sysfs.c | 66 ++++--- drivers/staging/ccree/ssi_sysfs.h | 1 + 29 files changed, 550 insertions(+), 734 deletions(-) -- 2.1.4