mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-08 17:53:52 +00:00
fix "function return type inconsistent"
MISRA C required function return type should be consistented. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -37,7 +37,7 @@ static inline uint32_t sbuf_calculate_allocate_size(uint32_t ele_num,
|
||||
return 0;
|
||||
}
|
||||
|
||||
return sbuf_allocate_size;
|
||||
return (uint32_t) sbuf_allocate_size;
|
||||
}
|
||||
|
||||
struct shared_buf *sbuf_allocate(uint32_t ele_num, uint32_t ele_size)
|
||||
|
Reference in New Issue
Block a user