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 <dt@nvidia.com>
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 <svcmobile_promotions@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
dt
2020-12-10 07:16:10 +00:00
committed by Alex Waterman
parent e13f0db093
commit ec4e8c7613

View File

@@ -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.
*
*/