Skip to content

Commit 107eaa3

Browse files
ShawnshhNanlinXie
authored andcommitted
HV:fix MACRO value mismatch
The commit id "c5f4c5" translats from enum to macro, the content is not correct,fixed now. Tracked-On: #1553 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com>
1 parent a853c05 commit 107eaa3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

hypervisor/include/debug/npk_log.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ enum {
2020
HV_NPK_LOG_CMD_QUERY,
2121
};
2222

23-
24-
#define HV_NPK_LOG_RES_INVALID 0x1U
25-
#define HV_NPK_LOG_RES_OK 0x2U
26-
#define HV_NPK_LOG_RES_KO 0x3U
27-
#define HV_NPK_LOG_RES_ENABLED 0x4U
28-
#define HV_NPK_LOG_RES_DISABLED 0x5U
23+
#define HV_NPK_LOG_RES_INVALID 0x0U
24+
#define HV_NPK_LOG_RES_OK 0x1U
25+
#define HV_NPK_LOG_RES_KO 0x2U
26+
#define HV_NPK_LOG_RES_ENABLED 0x3U
27+
#define HV_NPK_LOG_RES_DISABLED 0x4U
2928

3029
struct hv_npk_log_param;
3130

0 commit comments

Comments
 (0)