mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
hv: use int32_t replace int
Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -92,7 +92,7 @@ uint32_t sbuf_put(struct shared_buf *sbuf, uint8_t *data)
|
||||
return sbuf->ele_size;
|
||||
}
|
||||
|
||||
int sbuf_share_setup(uint16_t pcpu_id, uint32_t sbuf_id, uint64_t *hva)
|
||||
int32_t sbuf_share_setup(uint16_t pcpu_id, uint32_t sbuf_id, uint64_t *hva)
|
||||
{
|
||||
if ((pcpu_id >= phys_cpu_num) ||
|
||||
(sbuf_id >= ACRN_SBUF_ID_MAX)) {
|
||||
|
||||
Reference in New Issue
Block a user