mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 19:57:31 +00:00
HV: debug: make log severity constants unsigned
logmsg() expects the severity given to be uint32_t. This patch adds the 'U' suffix to the severity constants. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
4cd27a5ddd
commit
a27f33f9bc
@ -8,13 +8,13 @@
|
||||
#define LOGMSG_H
|
||||
|
||||
/* Logging severity levels */
|
||||
#define LOG_FATAL 1
|
||||
#define LOG_FATAL 1U
|
||||
/* For msg should be write to console and sbuf meanwhile but not fatal error */
|
||||
#define LOG_ACRN 2
|
||||
#define LOG_ERROR 3
|
||||
#define LOG_WARNING 4
|
||||
#define LOG_INFO 5
|
||||
#define LOG_DEBUG 6
|
||||
#define LOG_ACRN 2U
|
||||
#define LOG_ERROR 3U
|
||||
#define LOG_WARNING 4U
|
||||
#define LOG_INFO 5U
|
||||
#define LOG_DEBUG 6U
|
||||
|
||||
/* Logging flags */
|
||||
#define LOG_FLAG_STDOUT 0x00000001U
|
||||
|
Loading…
Reference in New Issue
Block a user