From patchwork Mon Nov 13 14:45:29 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: 118785 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1878789qgn; Mon, 13 Nov 2017 06:46:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMapNWlCYEsuvSbv5Z4Yh2PrOSQQok975HkzN3xLQahK3NMrF9Uk3IzqShmo57QmdCDZczun X-Received: by 10.101.80.132 with SMTP id r4mr8735383pgp.428.1510584383606; Mon, 13 Nov 2017 06:46:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510584383; cv=none; d=google.com; s=arc-20160816; b=bn0k9yM77Ip1v0h392oUZ598sn5aBB6X26j5l9Kgl+JzHTjfIqsgS5/wxNr2CiJFop JLI/oaSpWznsXffbdaHWmifzpYasRetKHUDkgs4L7FO9LZlli2CTW28ZOPWFeN4k/2SE Nf1yxQaFb4+UNdGlGfEQigGCfs3yLSqA5WHNcc11p/EjTkc7UdD+0wDoKOQmVyXgP30i zP3ERYKOOEx4jCpdefyn0O8rNCnveZGJOdt/WK+nGRj8rCokKmXKK8ppk6SfKqxUGPPx ySUGeR7pnYhBjhuCPzMrfI8qA62p7AENtluFO60Vbyg9otcE6/MtIP5/0UxM8j1Mf61/ pMTQ== 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=NeF79NWXYsmi9UqnyH6ZhIsXWNpaxTfOLnDUzQLrWb0=; b=RmMtQfvWCiPpG/ESp4O0Gev1vQ8woObgRxlqIqykhWa4KhWTJsvtRreBR2naJbOArt G6way5Zu1Cyk1zkyw73ogPkcUkM+kJ7pW7SQhCI38MzaJyfStkYIfOKuVTOl9uJg3JS8 y+Yzi8+7L2X4PyHXwnP51MZu16Od/NdrqR74oclsq6JIj3y4zWu0b/1RLo5HLmEwdEgj OpVPmy2IbYG7RJXpnFnz3dvT77FkO3IJQ8UMy/CMYuvtxfVHPTGI8n5JSe+EKJYoNc1G ok42SXu1/QVXYvxVXR3sp07WSlbL+QjtINaXR1ZhQASz223Q63puY+ugp7ZW0tEqgwie Dxzg== 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 p21si2457192pfi.396.2017.11.13.06.46.23; Mon, 13 Nov 2017 06:46:23 -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 S1752924AbdKMOqW (ORCPT + 27 others); Mon, 13 Nov 2017 09:46:22 -0500 Received: from foss.arm.com ([217.140.101.70]:47246 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752831AbdKMOqS (ORCPT ); Mon, 13 Nov 2017 09:46:18 -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 41FE31435; Mon, 13 Nov 2017 06:46:18 -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 9F7913F318; Mon, 13 Nov 2017 06:46:16 -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 01/24] staging: ccree: fix typos Date: Mon, 13 Nov 2017 14:45:29 +0000 Message-Id: <1510584358-29473-2-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 Fix a bunch of comment typos. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 2 +- drivers/staging/ccree/ssi_hash.h | 2 +- drivers/staging/ccree/ssi_ivgen.c | 2 +- drivers/staging/ccree/ssi_request_mgr.c | 2 +- drivers/staging/ccree/ssi_request_mgr.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index 472d3b7..6687027 100644 --- a/drivers/staging/ccree/ssi_hash.c +++ b/drivers/staging/ccree/ssi_hash.c @@ -2484,7 +2484,7 @@ static void ssi_hash_create_data_desc(struct ahash_req_ctx *areq_ctx, * \param drvdata * \param mode The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256 * - * \return u32 The address of the inital digest in SRAM + * \return u32 The address of the initial digest in SRAM */ ssi_sram_addr_t ssi_ahash_get_larval_digest_sram_addr(void *drvdata, u32 mode) { diff --git a/drivers/staging/ccree/ssi_hash.h b/drivers/staging/ccree/ssi_hash.h index 2400e38..c884727 100644 --- a/drivers/staging/ccree/ssi_hash.h +++ b/drivers/staging/ccree/ssi_hash.h @@ -95,7 +95,7 @@ ssi_ahash_get_initial_digest_len_sram_addr(void *drvdata, u32 mode); * \param drvdata * \param mode The Hash mode. Supported modes: MD5/SHA1/SHA224/SHA256/SHA384/SHA512 * - * \return u32 The address of the inital digest in SRAM + * \return u32 The address of the initial digest in SRAM */ ssi_sram_addr_t ssi_ahash_get_larval_digest_sram_addr(void *drvdata, u32 mode); diff --git a/drivers/staging/ccree/ssi_ivgen.c b/drivers/staging/ccree/ssi_ivgen.c index a33fd76..2f9201e 100644 --- a/drivers/staging/ccree/ssi_ivgen.c +++ b/drivers/staging/ccree/ssi_ivgen.c @@ -198,7 +198,7 @@ int ssi_ivgen_init(struct ssi_drvdata *drvdata) ivgen_ctx = drvdata->ivgen_handle; - /* Allocate pool's header for intial enc. key/IV */ + /* Allocate pool's header for initial enc. key/IV */ ivgen_ctx->pool_meta = dma_alloc_coherent(device, SSI_IVPOOL_META_SIZE, &ivgen_ctx->pool_meta_dma, GFP_KERNEL); diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index e9a09b3..597a71f 100644 --- a/drivers/staging/ccree/ssi_request_mgr.c +++ b/drivers/staging/ccree/ssi_request_mgr.c @@ -205,7 +205,7 @@ static inline int request_mgr_queues_status_check( struct device *dev = drvdata_to_dev(drvdata); /* SW queue is checked only once as it will not - * be chaned during the poll becasue the spinlock_bh + * be chaned during the poll because the spinlock_bh * is held by the thread */ if (unlikely(((req_mgr_h->req_queue_head + 1) & diff --git a/drivers/staging/ccree/ssi_request_mgr.h b/drivers/staging/ccree/ssi_request_mgr.h index ba44ab4..23883e2 100644 --- a/drivers/staging/ccree/ssi_request_mgr.h +++ b/drivers/staging/ccree/ssi_request_mgr.h @@ -36,7 +36,7 @@ int request_mgr_init(struct ssi_drvdata *drvdata); * If "false": this function adds a dummy descriptor completion * and waits upon completion signal. * - * \return int Returns -EINPROGRESS if "is_dout=ture"; "0" if "is_dout=false" + * \return int Returns -EINPROGRESS if "is_dout=true"; "0" if "is_dout=false" */ int send_request( struct ssi_drvdata *drvdata, struct ssi_crypto_req *ssi_req,