Fix some issues with ROH, PCIE and NIC modules Update tool version number to 1.1.1 (release version 14) Signed-off-by: veega2022 <zhuweijia@huawei.com> (cherry picked from commit 8e254c0769bc0a221ff0dcce0d022e5e76550bb6)
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From c28e333b43508b4037cba59a6ce8bb3912f63939 Mon Sep 17 00:00:00 2001
|
|
From: veega2022 <zhuweijia@huawei.com>
|
|
Date: Mon, 18 Mar 2024 17:36:40 +0800
|
|
Subject: [PATCH] hikptool: Delete meaningless printing
|
|
|
|
The revision IDs of different chips may be different.
|
|
Therefore, the print of revision ID mismatch is deleted.
|
|
It is normal that the revision IDs are different.
|
|
|
|
Signed-off-by: veega2022 <zhuweijia@huawei.com>
|
|
---
|
|
libhikptdev/src/rciep/hikpt_rciep.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libhikptdev/src/rciep/hikpt_rciep.c b/libhikptdev/src/rciep/hikpt_rciep.c
|
|
index f673dd0..75ec224 100644
|
|
--- a/libhikptdev/src/rciep/hikpt_rciep.c
|
|
+++ b/libhikptdev/src/rciep/hikpt_rciep.c
|
|
@@ -366,8 +366,8 @@ static int hikp_iep_check(const char *tmp_vendor_dir,
|
|
return ret;
|
|
|
|
ret = hikp_iep_check_item(revision_dir, MAX_PCI_REVISION_LEN, HIKP_IEP_REVISION);
|
|
- if (ret != 0)
|
|
- printf("Revision id not match %s.\n", HIKP_IEP_REVISION);
|
|
+ if (ret != 0 && ret != -ENXIO)
|
|
+ return ret;
|
|
|
|
return 0;
|
|
}
|
|
--
|
|
2.30.0
|
|
|