gpu: nvgpu: fix typos in posix units

Fix typo errors in posix Doxygen documentation.

Jira NVGPU-2414

Change-Id: If31250b449d6a0a7ab908142a2edbfef49316b57
Signed-off-by: ajesh <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2220723
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
ajesh
2019-10-18 10:58:30 +05:30
committed by Alex Waterman
parent 2be9a7f2c7
commit c238dd8c55
2 changed files with 5 additions and 4 deletions

View File

@@ -380,7 +380,7 @@
* Formats the string and places it in the location referenced by input
* parameter buf.
*
* @return Returns the number of characters printed in a succesful scenario,
* @return Returns the number of characters printed in a successful scenario,
* Otherwise returns the error code.
*/
static inline int scnprintf(char *buf, size_t size, const char *format, ...)
@@ -527,7 +527,8 @@ static inline unsigned int nvgpu_posix_hweight64(uint64_t x)
* Better suited under a compiler.h type header file, but for now these can live
* here.
*/
/** Compiler extension directive to enure that a return value is checked. */
/** Compiler extension directive to ensure that a return value is checked. */
#define __must_check __attribute__((warn_unused_result))
#ifndef __user

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -40,7 +40,7 @@ struct nvgpu_rwsem;
/**
* @brief Initialize read write lock.
*
* @param rwsem [in] Read,write lock to initalize.
* @param rwsem [in] Read,write lock to initialize.
*
* Initializes the read,write lock referenced by \a rwsem.
*/