Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp493526pxf; Thu, 18 Mar 2021 05:46:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2CY9IqtayCeSh8e8SAtZzz1NT5ffT7KO38G5VQYMh8RrXsF6q1pktNPQbnBuKdcD1lUbP X-Received: by 2002:a17:906:7d82:: with SMTP id v2mr30043824ejo.524.1616071563964; Thu, 18 Mar 2021 05:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616071563; cv=none; d=google.com; s=arc-20160816; b=L8muY1YM6qDBB08vCZiAFkL19oEHhqsHeBwUTE3fCJ5hWQqN7ASVc5/7CxY48bxMH1 pPjKhUlyh4NWjNF2h/JKg27p4asnHqfveUIIpQysojLr5Fyw98sK53GwVjnhgRQLCl/s deYHeZxvVLh1zlHtYwxcOtYvbu2Vd9hKTJ8dlfZ1H1E+2m6FOwA1gfJh2ZReHU93ZYpE 95rwRyTAe3ClWIAKoiaQYfoITqB1wFNYwGSEQDI61xrK9ym7801MKZvQsDpUv8u5Tj8N moUb58fpGfy+X2ipWsMoKYlCVM1bynfrrrzb4e5n0WgSinV4Wm1DMxzfclARqH5hgYw+ gzLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rd9z4w9LE1HolCnpzEf+gv0c+Los0igJWAfUgufQ4UM=; b=yWVPozb62F+YYqgdK6VwsyHdqf2Yj20rWmfRrcaZTXYVxIZ6V0xu+2vgWGy7sGJzbl UlNdEKlHX/kyh7JEdhL2tZtKuNG+GUPXGjpP7UTwzeJKTeKyZ/3U8DYpq4Efrj56Sm0R JaCsbq8bk1q6WkeTeTb+nLCWBy5aQaVwkdRgzW5gklSUlZDCPNwfdVQKHWNRDqloNs5f KvoRen4LJjO8JCbIeCnyW/bTaRYWXPI1EiiODdgaNlGl4FDcxmc+fi8AHdzCiISI/4Wo IhfW8rnaTmH6YZWizPFc+0QXB7YdWGtB1U0EMxmvMDeWeghR6YXWDqiSJSyeqUgDDzhh uhsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=smUYcY3b; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb10si1566000ejc.273.2021.03.18.05.45.29; Thu, 18 Mar 2021 05:46:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=smUYcY3b; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231382AbhCRMpA (ORCPT + 99 others); Thu, 18 Mar 2021 08:45:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231326AbhCRMoh (ORCPT ); Thu, 18 Mar 2021 08:44:37 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC505C06174A for ; Thu, 18 Mar 2021 05:44:36 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id a132-20020a1c668a0000b029010f141fe7c2so3116940wmc.0 for ; Thu, 18 Mar 2021 05:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rd9z4w9LE1HolCnpzEf+gv0c+Los0igJWAfUgufQ4UM=; b=smUYcY3bH6WJZsnhdH1GiU+qMOjP0jFa4N5IWcbWJ8GIsDAqrL5z2tg1883ti4JXHb rSsi2zIvxaHh/Ax5K9gr7b8H/5t3UtAX78WeciTMwnIMPtmBYsM0BCvcgJ/cp7cD5MN2 rSeUKblpDgAomDYbwLu6ASR9A1Ct+39A6HxCAmBSNwE1zJksMc2OEh/RabX/rSCHIfaE RQg+vge8s2xtwDK/WVbePmUkim+Eb5D00J47djQOLpR4bqwCl3s6Aq8pU5JwhTZwMYn3 nyih1ocJSztiO0tyA19Nsx5+B7ngCml3YBhtlvP6H9CQritTWMD7x01d7ZbM0ZkTuK3g BJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rd9z4w9LE1HolCnpzEf+gv0c+Los0igJWAfUgufQ4UM=; b=Lu7rbQc594wRFA8T2HKQjrzNiAyZBjVLFwqpmMwoZ1fON7ws9ovn4mWqDAXQTeSlnh KeTfWLiBb35V//Pne2znUVn3Ird0/XbJG23o3nF9CltKkD7GeCtO19fnR0qSkX52uc0C cN8NXVxjlSZQvVZTdE2WzeYhNXEUOaUEcbrkBLZzz0VkhZkSwiZEBGmNv3xFVof2iUV4 sLouGEVFyytR+NiY0kqBuVY5ZmzmlqaWzEI9AbH55O0FxVPVUpxlK053GpI9OaKXpDUC MabvPV56JdTaFPlYv4BHcNsRe3NoJOqExsu710vUHCgom54cpyr7waIVZyU9dsL2kDc4 5gsQ== X-Gm-Message-State: AOAM531bHvkVDQkpgNAApsjGyTFnazWdWIXc1h+BGRjsqVuG6oxibXTM WyWDPNn6Ye4Ab/Isa/jaS4gtPg== X-Received: by 2002:a05:600c:210a:: with SMTP id u10mr3560775wml.147.1616071475551; Thu, 18 Mar 2021 05:44:35 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id q15sm2813900wrx.56.2021.03.18.05.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 05:44:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Daniele Alessandrelli , Declan Murphy , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org Subject: [PATCH 05/10] crypto: keembay: ocs-hcu: Fix incorrectly named functions/structs Date: Thu, 18 Mar 2021 12:44:17 +0000 Message-Id: <20210318124422.3200180-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210318124422.3200180-1-lee.jones@linaro.org> References: <20210318124422.3200180-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/crypto/keembay/ocs-hcu.c:107: warning: expecting prototype for struct ocs_hcu_dma_list. Prototype was for struct ocs_hcu_dma_entry instead drivers/crypto/keembay/ocs-hcu.c:127: warning: expecting prototype for struct ocs_dma_list. Prototype was for struct ocs_hcu_dma_list instead drivers/crypto/keembay/ocs-hcu.c:610: warning: expecting prototype for ocs_hcu_digest(). Prototype was for ocs_hcu_hash_update() instead drivers/crypto/keembay/ocs-hcu.c:648: warning: expecting prototype for ocs_hcu_hash_final(). Prototype was for ocs_hcu_hash_finup() instead Cc: Daniele Alessandrelli Cc: Declan Murphy Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones --- drivers/crypto/keembay/ocs-hcu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/keembay/ocs-hcu.c b/drivers/crypto/keembay/ocs-hcu.c index 81eecacf603ad..deb9bd460ee62 100644 --- a/drivers/crypto/keembay/ocs-hcu.c +++ b/drivers/crypto/keembay/ocs-hcu.c @@ -93,7 +93,7 @@ #define OCS_HCU_WAIT_BUSY_TIMEOUT_US 1000000 /** - * struct ocs_hcu_dma_list - An entry in an OCS DMA linked list. + * struct ocs_hcu_dma_entry - An entry in an OCS DMA linked list. * @src_addr: Source address of the data. * @src_len: Length of data to be fetched. * @nxt_desc: Next descriptor to fetch. @@ -107,7 +107,7 @@ struct ocs_hcu_dma_entry { }; /** - * struct ocs_dma_list - OCS-specific DMA linked list. + * struct ocs_hcu_dma_list - OCS-specific DMA linked list. * @head: The head of the list (points to the array backing the list). * @tail: The current tail of the list; NULL if the list is empty. * @dma_addr: The DMA address of @head (i.e., the DMA address of the backing @@ -597,7 +597,7 @@ int ocs_hcu_hash_init(struct ocs_hcu_hash_ctx *ctx, enum ocs_hcu_algo algo) } /** - * ocs_hcu_digest() - Perform a hashing iteration. + * ocs_hcu_hash_update() - Perform a hashing iteration. * @hcu_dev: The OCS HCU device to use. * @ctx: The OCS HCU hashing context. * @dma_list: The OCS DMA list mapping the input data to process. @@ -632,7 +632,7 @@ int ocs_hcu_hash_update(struct ocs_hcu_dev *hcu_dev, } /** - * ocs_hcu_hash_final() - Update and finalize hash computation. + * ocs_hcu_hash_finup() - Update and finalize hash computation. * @hcu_dev: The OCS HCU device to use. * @ctx: The OCS HCU hashing context. * @dma_list: The OCS DMA list mapping the input data to process. -- 2.27.0