From bfcde1e1685eeb7ca78c71bc399f39cbbf9e2ecc Mon Sep 17 00:00:00 2001 From: "Wang.Bin" Date: Fri, 20 Dec 2024 16:19:42 +0800 Subject: [PATCH 2/2] ClearSel Disable check SEL Reservation --- storagehandler.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/storagehandler.cpp b/storagehandler.cpp index 67d76ea..389a805 100644 --- a/storagehandler.cpp +++ b/storagehandler.cpp @@ -516,7 +516,7 @@ ipmi::RspType - clearSEL(uint16_t reservationID, const std::array& clr, + clearSEL(uint16_t /*reservationID*/, const std::array& clr, uint8_t eraseOperation) { static constexpr std::array clrOk = {'C', 'L', 'R'}; @@ -525,10 +525,10 @@ ipmi::RspType(sensorNumber) <<"sensorType:" + << static_cast(sensorType) << std::endl; if (recordType == systemRecordType) { for (const auto& it : invSensors) @@ -805,7 +807,7 @@ ipmi::RspType(Created::RECORD_TYPE(recordType), -- 2.25.1