From patchwork Thu Feb 4 11:09:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 376249 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp1189863ejt; Thu, 4 Feb 2021 03:14:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUbsam7weTBmO9Tl1ps/WygOrddwjvXKZhP/GDe+1u7LN/iC1msjEc1EU57+lHRmpE3iah X-Received: by 2002:a17:906:ff48:: with SMTP id zo8mr7741584ejb.292.1612437246723; Thu, 04 Feb 2021 03:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612437246; cv=none; d=google.com; s=arc-20160816; b=Sfv0fBimYdfvLGsBzKMaoK0M2DSLEcfbX2mBIr6yY0Ogm9WjHgUA2GTvwEHYzoPwCP d26cHqxd2Qdw3QgSs5hrPGNQIgTagzhi5bpT0ROKFbk30G/hFu54DN8Cr8esI4MkZGaF G6efZVrvr6z9kLhvCxV1KndWc0K1R1n9yOMUbjEkEDDDWyDNZRTiX/rA70sLai3LcYlk +/Blwj2qUgkTSO3nS8ZUEtCIi+aytE6qoMkS7UePZQrMxBEXz8toOf5Y9YyeohuQZvBK IKfctkZlOLtB+7uiE2mfhTsmCjpgLL2NhFOXsxz7ji3jZyoFHOKRsDbiyRMD3Eme1o/B 2iBw== 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=jD3fDhqrGmZlQJN4sE5tqUAObb8EheXiffPU2HNHONI=; b=DHghiy/jMMgaIEFL/7wBQxnI4bItnpzP/V3Owg2Xap6yonjcRokaB/kt/ily50wW7h SPrvgLT3EdWOlBllhwV2I/JOyFHLHI0C1cOm0X7GJc/DfaszgUCF0w8+DZr8ajKBeuTk JgaRrFkDfuBzpbp8amKUjsMwzQxTCCNDEQDgwb1/n8IKmnoaz8AbsPrvhVyq2n9Nqa3X dEk+985KYwc2pQPS6hofzT1ZjKZvATrwVPcgl1OaXtqJlkBL8DZND/p1Rj1uhof+hq4r HNL+82Hrt/JY+yc/rW5lX100jsmcyPYaYo2OMi59qNpWw0dz3okvXGyMFs6ljAxOFklY rWlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SZwwWIeV; 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 qx24si3058537ejb.494.2021.02.04.03.14.06; Thu, 04 Feb 2021 03:14:06 -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=SZwwWIeV; 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 S235748AbhBDLNU (ORCPT + 2 others); Thu, 4 Feb 2021 06:13:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235705AbhBDLMM (ORCPT ); Thu, 4 Feb 2021 06:12:12 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C713C061352 for ; Thu, 4 Feb 2021 03:10:14 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id j11so2752102wmi.3 for ; Thu, 04 Feb 2021 03:10:14 -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=jD3fDhqrGmZlQJN4sE5tqUAObb8EheXiffPU2HNHONI=; b=SZwwWIeVUbG3QySuaV0bjefGVojXmvsBnf9OYpQkKUvrnDCTOz+SDdZdx557SGy7El E5ZPs6j/XSEL0D9wmKBdkDNTySxzq7Vl49xedFQDnrCEJgbQ0EHVSWrfHHw492aotv79 dsEeAEPP5du/ijeMImA+bpaUTWR6LihUNwMRIHRtnNX2w5vTdds2aC/l7z/HBN9VKjoN 7FMf1ohwJF0XNhE6UhUhflqOFeQl46S78SZdtcf42pFpO8iBsgjvfiybhLV7g5Gsq7lZ kG6ah3FwOu28XQyE91aJ22X5TQkQ8NGIKw5HmYmygpAe0sBXNdgqLD6U16BiIuAn3rAG QmLA== 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=jD3fDhqrGmZlQJN4sE5tqUAObb8EheXiffPU2HNHONI=; b=eOFQ9B6X8WUkJyZ9cjLYFYSVBEK9CP9htTxWmPtKRqWtah8A/z5aVra3zQsFSVxu+q cJmKpkuwOSQUT+1i6y7zTDz2mZV+8eQawEWAFrFha8FE1PgSml9SWMfNYklnMPIlOUnz imZTDlJrQgT2UxwOGvPL/3mFGFxF3EKIQpkJVZno22RxgZ6UO2MQtKP+vAE9tGY0lSq9 W1aA2GOZ05XtZRUHLKiM1yrASyIRXp0lNUw5euCE8/LuAovCRkvmVZIxLIWBsKEks2qU DmhMdN7/BRgGRbA7fF4i247QPQj9tIJDEOD1lRZNXnEP4kzCy0a+m/4BOBrXSuXlXJWq e5rA== X-Gm-Message-State: AOAM533q177SNU15A0VvZW6JVG5P3/8E+pEvzyo/CUIXBiqcYlBrHFMr hZOtqEpuD4CfAF6yEgcJV066gA== X-Received: by 2002:a1c:1b15:: with SMTP id b21mr3910742wmb.116.1612437013148; Thu, 04 Feb 2021 03:10:13 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id y18sm7696218wrt.19.2021.02.04.03.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 03:10:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Herbert Xu , "David S. Miller" , "Gustavo A. R. Silva" , Shujuan Chen , Jonas Linde , Niklas Hernaeus , Joakim Bech , Berne Hebark , linux-crypto@vger.kernel.org Subject: [PATCH 08/20] crypto: ux500: cryp: Demote some conformant non-kernel headers fix another Date: Thu, 4 Feb 2021 11:09:48 +0000 Message-Id: <20210204111000.2800436-9-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/ux500/cryp/cryp.c:19: warning: Incorrect use of kernel-doc format: * cryp_wait_until_done - wait until the device logic is not busy drivers/crypto/ux500/cryp/cryp.c:22: warning: Function parameter or member 'device_data' not described in 'cryp_wait_until_done' drivers/crypto/ux500/cryp/cryp.c:22: warning: expecting prototype for ST(). Prototype was for cryp_wait_until_done() instead drivers/crypto/ux500/cryp/cryp.c:292: warning: Function parameter or member 'cryp_mode' not described in 'cryp_save_device_context' Cc: Herbert Xu Cc: "David S. Miller" Cc: "Gustavo A. R. Silva" Cc: Shujuan Chen Cc: Jonas Linde Cc: Niklas Hernaeus Cc: Joakim Bech Cc: Berne Hebark Cc: linux-crypto@vger.kernel.org Signed-off-by: Lee Jones --- drivers/crypto/ux500/cryp/cryp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/crypto/ux500/cryp/cryp.c b/drivers/crypto/ux500/cryp/cryp.c index 9866c2a5e9a70..759d0d9786fd1 100644 --- a/drivers/crypto/ux500/cryp/cryp.c +++ b/drivers/crypto/ux500/cryp/cryp.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (C) ST-Ericsson SA 2010 * Author: Shujuan Chen for ST-Ericsson. * Author: Jonas Linde for ST-Ericsson. @@ -15,7 +15,7 @@ #include "cryp_p.h" #include "cryp.h" -/** +/* * cryp_wait_until_done - wait until the device logic is not busy */ void cryp_wait_until_done(struct cryp_device_data *device_data) @@ -285,6 +285,7 @@ int cryp_configure_init_vector(struct cryp_device_data *device_data, * other device context parameter * @device_data: Pointer to the device data struct for base address. * @ctx: Crypto device context + * @cryp_mode: Mode: Polling, Interrupt or DMA */ void cryp_save_device_context(struct cryp_device_data *device_data, struct cryp_device_context *ctx,