From d4766cd11b985f7f798410129a0b204beb13ecef Mon Sep 17 00:00:00 2001 From: Wenpeng Liang Date: Mon, 17 Jan 2022 20:43:39 +0800 Subject: libhns: Fix wrong HIP08 version macro The version macro of HIP08 should be consistent with the version number queried from the hardware. Fixes: b8cb140e9cd6 ("libhns: Refresh version info before using it") Signed-off-by: Wenpeng Liang --- providers/hns/hns_roce_u.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/hns/hns_roce_u.h b/providers/hns/hns_roce_u.h index 9366923..2b4ba18 100644 --- a/providers/hns/hns_roce_u.h +++ b/providers/hns/hns_roce_u.h @@ -48,8 +48,7 @@ #include "hns_roce_u_abi.h" #define HNS_ROCE_HW_VER1 ('h' << 24 | 'i' << 16 | '0' << 8 | '6') - -#define HNS_ROCE_HW_VER2 ('h' << 24 | 'i' << 16 | '0' << 8 | '8') +#define HNS_ROCE_HW_VER2 0x100 #define HNS_ROCE_HW_VER3 0x130 #define PFX "hns: " -- 2.27.0