HV:fix "Pointer param should be declared pointer to const"

Fix violations for function whose parameter can be read-only.

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Huihuang Shi
2018-10-23 11:45:29 +08:00
committed by wenlingz
parent d79007ae70
commit ea32c34ae1
39 changed files with 149 additions and 149 deletions

View File

@@ -382,7 +382,7 @@ static void print_decimal(struct print_param *param, int64_t value)
}
static void print_string(struct print_param *param, const char *s)
static void print_string(const struct print_param *param, const char *s)
{
/* the length of the string (-1) if unknown */
uint32_t len;