mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
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:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user