HV:fix rest integer violations

Fix integer related violations.
V1->V2:
  clean all memset/calloc integer violations excpet bsp/boot directory

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-08-01 12:08:04 +08:00
committed by lijinxia
parent 56904bc235
commit 1664e0c842
11 changed files with 24 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ struct shared_buf *sbuf_allocate(uint32_t ele_num, uint32_t ele_size)
return NULL;
}
sbuf = calloc(1, sbuf_allocate_size);
sbuf = calloc(1U, sbuf_allocate_size);
if (sbuf == NULL) {
pr_err("%s no memory!", __func__);
return NULL;