From patchwork Thu Feb 4 11:09:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 376245 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp1188969ejt; Thu, 4 Feb 2021 03:12:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQ720sZK1Uwwr5rUskdfpwu+/FZOMWSdekCK/5oy5mWozECCY3Uz0ZG415lyBabvERj075 X-Received: by 2002:a17:906:6951:: with SMTP id c17mr7370767ejs.395.1612437147953; Thu, 04 Feb 2021 03:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612437147; cv=none; d=google.com; s=arc-20160816; b=IALhBFWCpFGCHiQlQz3/zg80G9VRISLauqTPnkQiS36F5z6f402YOFX50vUlnmQZnN XIoLO0LOQRuz0AAH8LoV5F8oM77RfenMjrgRua5fZ0tAsO6PMMpLK0ssSKXzE5SwBvi8 2aSovEN6GKWc3LudPmm6lfDSx9ZYkvobZWH7ZX3878qgaMbO7dZ5NWW04zC5IW0jsfxX 5rh5cvEmdyEvANUPAjO3BW2yAD9VJ7DQHgpG0tAXfrZ9GoGGP1T8R3cqnsASWhiFrwZT 1EGT2GbE2iH6h1+vnAae2uI44Be5LHrZOPJrQckhU9GYDvd8l1uCEIxeNCFEmIfnUVGL 4QmA== 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=a2lURvcXUAZ56o/yGYVgo6mp0F/K9gLatpjFLDr+G/I=; b=dg4LYcwBBJ3TQhjyN0RURiowgnHLbi7XaqlTOvvmD9zbeMgdYCxh9w9DTxtjoLhyjy rSM5XYB4mAXlUVcCgYOk/pQsNHozm6fGzqHJigg9terw6XTh3DaO5aWgWvvhF5ZgX7Qw C5MvgfEBH7Q9x/XI1il/mgBPdNVmx4lrnXLL6VNMq35/Rs1O6T0Vguz/jEMCBEEVbBzK 6H3JjnfwduxqMvTSgkkKXJoWIGLOgzW1vxx3ZC/oqNxDyUWfhpkqJExLmao8kzBMZZvS BdcDWhQM93kYBZzNoRSXpI/IZSCEh/AWMKYJ6Eme8Khy0bKMcU0RV09o91zDa6B/mesP tzSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V9jzeEe7; 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 y25si3349293ejb.546.2021.02.04.03.12.27; Thu, 04 Feb 2021 03:12:27 -0800 (PST) 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=V9jzeEe7; 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 S235700AbhBDLMH (ORCPT + 2 others); Thu, 4 Feb 2021 06:12:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235676AbhBDLLs (ORCPT ); Thu, 4 Feb 2021 06:11:48 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8EE8C0617AA for ; Thu, 4 Feb 2021 03:10:11 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id c127so2619806wmf.5 for ; Thu, 04 Feb 2021 03:10:11 -0800 (PST) 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=a2lURvcXUAZ56o/yGYVgo6mp0F/K9gLatpjFLDr+G/I=; b=V9jzeEe7iyd/YDg6OYfRwyL21PZ5X/2P5QTnGWFRem+ALb5v5ZWl3H+ahTpTjdyOGk 2wnJjy7BgMTUN9qLgIa/nvo/1A8y7LWCjupX1IY83coEJ9pQL687Fs0NwmA/n5ooTjUm OFv1m8uf49xbKfUHoG0P1CyX/uoai4oArpOo0p8uIrcSAZfYM9RMo8dG0zWOrjFiON0I 0Kse5fpaaTUp+zArXeOvAwcTNl3oEIRm7oxmT9yD4f477G4qiz84YKibzcExHFYV0RGz oZoMFUk0+UXrBRTpR8F6ULHBdiGQOD1Llw/Ky7jUyWetDLxzqcJkshQU12Nv6m1ngseY hpzw== 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=a2lURvcXUAZ56o/yGYVgo6mp0F/K9gLatpjFLDr+G/I=; b=NlFYksPnimyDX+vzBPBlrnfwmT3ebJPqJvJoXNjvS2OH3fmd6eK3Vty+ieY/24XNih 4vvsOa6O8uiinyAikzgdCfF9EixMndR3t7EaLlnG7/MnFsBYClTHE5hpjCXlmptniytN QaR7BhRP/8ZFNnY7h3jaMtRY6AW4smH0OcwWSIzxuNQwAq9cIB49OrN5S/0MzUB2QEof cAjoBfjuBQBVGuGlILDYYd4ITADWlzcPh04grMsS5+ql0eyd6iQ0D0W+3ihJGfyMAnf/ nTpoofKNmqlFWKE9hGRn7PcRADmz7hUXINbWB/pPUemsLEvV1DZDzMIjWOyFhMT85EFX udyA== X-Gm-Message-State: AOAM5312xwz5PSRTVRHiy6VnOhv9Q612Lwd0pF1rCONm2sK/ctuB/TMU J1tMTeH8uNj5E1glJBgXjfY0hw== X-Received: by 2002:a1c:9845:: with SMTP id a66mr6772136wme.121.1612437010723; Thu, 04 Feb 2021 03:10:10 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id y18sm7696218wrt.19.2021.02.04.03.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 03:10:10 -0800 (PST) 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 06/20] crypto: keembay: ocs-hcu: Fix incorrectly named functions/structs Date: Thu, 4 Feb 2021 11:09:46 +0000 Message-Id: <20210204111000.2800436-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210204111000.2800436-1-lee.jones@linaro.org> References: <20210204111000.2800436-1-lee.jones@linaro.org> MIME-Version: 1.0 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 Acked-by: Daniele Alessandrelli diff --git a/drivers/crypto/keembay/ocs-hcu.c b/drivers/crypto/keembay/ocs-hcu.c index 81eecacf603ad..d522757855fb0 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. @@ -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.