From ec4e8c7613a5d0045191f196450ef2691606ea5b Mon Sep 17 00:00:00 2001 From: dt Date: Thu, 10 Dec 2020 07:16:10 +0000 Subject: [PATCH] gpu: nvgpu: Doxygen: Change the return value format This is changing the return value format. JIRA NVGPU-6259 Change-Id: Ic889328e5aaf6716837e594d6b9876e0cf8a5d56 Signed-off-by: dt Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2457892 (cherry picked from commit 707cdaf7600300cd1612cac53714a3118b4b3b6f) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2459284 Tested-by: mobile promotions Reviewed-by: Vaibhav Kachore Reviewed-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/nvhost.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvhost.h b/drivers/gpu/nvgpu/include/nvgpu/nvhost.h index 448b18f06..d245a6477 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/nvhost.h +++ b/drivers/gpu/nvgpu/include/nvgpu/nvhost.h @@ -61,8 +61,8 @@ struct nvgpu_nvhost_dev; * @return 0, if success. * <0, for failure. * - * @retval -EINVAL, for invlaid chip id. - * @retval -ENOMEM, for any other reasons. + * @retval -EINVAL For invalid chip id. + * @retval -ENOMEM For any other reasons. * */ int nvgpu_get_nvhost_dev(struct gk20a *g); @@ -86,7 +86,7 @@ void nvgpu_free_nvhost_dev(struct gk20a *g); * * @return whether syncpt access is available. * - * @retval TRUE/FALSE. + * @retval TRUE For syncpoint support. * */ bool nvgpu_has_syncpoints(struct gk20a *g); @@ -243,8 +243,8 @@ void nvgpu_nvhost_syncpt_put_ref_ext(struct nvgpu_nvhost_dev *nvgpu_syncpt_dev, * * @return Sync point id allocated. * - * @retval valid id, for successful allocation. - * NVGPU_NVSYNCPT_INVALID, for error. + * @retval valid id For successful allocation. + * @retval NVGPU_NVSYNCPT_INVALID For error. * */ u32 nvgpu_nvhost_get_syncpt_client_managed(struct nvgpu_nvhost_dev @@ -265,7 +265,7 @@ u32 nvgpu_nvhost_get_syncpt_client_managed(struct nvgpu_nvhost_dev * @return Zero for success. * <0, for failure. * - * @retval -ENOSYS, if any of the input parameters + * @retval -ENOSYS For any of the input parameter * is NULL. * */