hv: treewide: fix 'Prototype and definition name mismatch'

Fix the parameter name mismatch between API declaration and definition.

v2 -> v3:
 * Fix two more violations which are missed in previous report.
   shell_puts and console_write

v1 -> v2:
 * Replace 'ret_desc' with 'desc'

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Shiqing Gao
2018-08-01 14:59:53 +08:00
committed by lijinxia
parent f42878ee3a
commit b4a2ff5022
17 changed files with 35 additions and 35 deletions

View File

@@ -18,14 +18,14 @@ void console_init(void);
/** Writes a given number of characters to the console.
*
* @param str A pointer to character array to write.
* @param s A pointer to character array to write.
* @param len The number of characters to write.
*
* @return The number of characters written or -1 if an error occurred
* and no character was written.
*/
int console_write(const char *s_arg, size_t len);
int console_write(const char *s, size_t len);
/** Writes a single character to the console.
*