From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51BFCC5519F for ; Mon, 16 Nov 2020 11:25:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E96CA20853 for ; Mon, 16 Nov 2020 11:25:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="SCKd9hiu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729127AbgKPKUM (ORCPT ); Mon, 16 Nov 2020 05:20:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:52864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728821AbgKPKS3 (ORCPT ); Mon, 16 Nov 2020 05:18:29 -0500 Received: from mail.kernel.org (ip5f5ad5de.dynamic.kabel-deutschland.de [95.90.213.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 470D0222B9; Mon, 16 Nov 2020 10:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605521908; bh=HYigB78Dz9UmYMozGB/cYAt563R4Ds7rlyHCMYGFF0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SCKd9hiuVCuhFVWEmS0M2Ce24+wDLeetSZMMoW8FKhSNi+hsZhprsmPvUCdrd6GP3 ZqkJ9VMKqsTj4+wQABfV7MOaGXyinfCpSFWwI1TupSWwduxfM56jhttzAUNsp58SeI cXHseM4JMWiFvVHoZls4MOK3oxFRQITQEJDmrxlc= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kebac-00FwEP-Cf; Mon, 16 Nov 2020 11:18:26 +0100 From: Mauro Carvalho Chehab To: Richard Gong Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Linux Doc Mailing List" , linux-kernel@vger.kernel.org Subject: [PATCH v4 15/27] firmware: stratix10-svc: fix kernel-doc markups Date: Mon, 16 Nov 2020 11:18:11 +0100 Message-Id: <6d6d21e3343525d64c615d922a54d5b4108c0d5a.1605521731.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some common comments marked, instead, with kernel-doc notation, which won't work. While here, rename an identifier, in order to match the function prototype below kernel-doc markup. Acked-by: Richard Gong Signed-off-by: Mauro Carvalho Chehab --- include/linux/firmware/intel/stratix10-svc-client.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/firmware/intel/stratix10-svc-client.h b/include/linux/firmware/intel/stratix10-svc-client.h index a93d85932eb9..ebc295647581 100644 --- a/include/linux/firmware/intel/stratix10-svc-client.h +++ b/include/linux/firmware/intel/stratix10-svc-client.h @@ -1,81 +1,81 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2017-2018, Intel Corporation */ #ifndef __STRATIX10_SVC_CLIENT_H #define __STRATIX10_SVC_CLIENT_H -/** +/* * Service layer driver supports client names * * fpga: for FPGA configuration * rsu: for remote status update */ #define SVC_CLIENT_FPGA "fpga" #define SVC_CLIENT_RSU "rsu" -/** +/* * Status of the sent command, in bit number * * SVC_STATUS_OK: * Secure firmware accepts the request issued by one of service clients. * * SVC_STATUS_BUFFER_SUBMITTED: * Service client successfully submits data buffer to secure firmware. * * SVC_STATUS_BUFFER_DONE: * Secure firmware completes data process, ready to accept the * next WRITE transaction. * * SVC_STATUS_COMPLETED: * Secure firmware completes service request successfully. In case of * FPGA configuration, FPGA should be in user mode. * * SVC_COMMAND_STATUS_BUSY: * Service request is still in process. * * SVC_COMMAND_STATUS_ERROR: * Error encountered during the process of the service request. * * SVC_STATUS_NO_SUPPORT: * Secure firmware doesn't support requested features such as RSU retry * or RSU notify. */ #define SVC_STATUS_OK 0 #define SVC_STATUS_BUFFER_SUBMITTED 1 #define SVC_STATUS_BUFFER_DONE 2 #define SVC_STATUS_COMPLETED 3 #define SVC_STATUS_BUSY 4 #define SVC_STATUS_ERROR 5 #define SVC_STATUS_NO_SUPPORT 6 -/** +/* * Flag bit for COMMAND_RECONFIG * * COMMAND_RECONFIG_FLAG_PARTIAL: * Set to FPGA configuration type (full or partial). */ #define COMMAND_RECONFIG_FLAG_PARTIAL 1 -/** +/* * Timeout settings for service clients: * timeout value used in Stratix10 FPGA manager driver. * timeout value used in RSU driver */ #define SVC_RECONFIG_REQUEST_TIMEOUT_MS 300 #define SVC_RECONFIG_BUFFER_TIMEOUT_MS 720 #define SVC_RSU_REQUEST_TIMEOUT_MS 300 struct stratix10_svc_chan; /** * enum stratix10_svc_command_code - supported service commands * * @COMMAND_NOOP: do 'dummy' request for integration/debug/trouble-shooting * * @COMMAND_RECONFIG: ask for FPGA configuration preparation, return status * is SVC_STATUS_OK * * @COMMAND_RECONFIG_DATA_SUBMIT: submit buffer(s) of bit-stream data for the * FPGA configuration, return status is SVC_STATUS_SUBMITTED or SVC_STATUS_ERROR @@ -201,30 +201,30 @@ void *stratix10_svc_allocate_memory(struct stratix10_svc_chan *chan, size_t size); /** * stratix10_svc_free_memory() - free allocated memory * @chan: service channel assigned to the client * @kaddr: starting address of memory to be free back to pool */ void stratix10_svc_free_memory(struct stratix10_svc_chan *chan, void *kaddr); /** * stratix10_svc_send() - send a message to the remote * @chan: service channel assigned to the client * @msg: message data to be sent, in the format of * struct stratix10_svc_client_msg * * Return: 0 for success, -ENOMEM or -ENOBUFS on error. */ int stratix10_svc_send(struct stratix10_svc_chan *chan, void *msg); /** - * intel_svc_done() - complete service request + * stratix10_svc_done() - complete service request * @chan: service channel assigned to the client * * This function is used by service client to inform service layer that * client's service requests are completed, or there is an error in the * request process. */ void stratix10_svc_done(struct stratix10_svc_chan *chan); #endif -- 2.28.0