Fix clang-format issue in sensorhandler.cpp
A clang-format issue in sensorhandler.cpp was introduced by
commit 0fbdbce22771dac6fe8d651e4c8155645807b83d that is causing
CI to fail for changes to phosphor-host-ipmid. This commit
updates sensorhandler.cpp with the latest clang-format changes.
Change-Id: If37a25c50ee04264ce55c8c7959a4fee2aba4045
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index e676c3e..eafb5d0 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -767,8 +767,7 @@
sizeof(record) - req->offset);
std::memcpy(resp->record_data,
- reinterpret_cast<uint8_t*>(&record) + req->offset,
- dataLength);
+ reinterpret_cast<uint8_t*>(&record) + req->offset, dataLength);
*data_len = dataLength;
*data_len += 2; // additional 2 bytes for next record ID
@@ -863,8 +862,8 @@
*data_len);
// data_len should include the LSB and MSB:
- *data_len += sizeof(resp->next_record_id_lsb)
- + sizeof(resp->next_record_id_msb);
+ *data_len +=
+ sizeof(resp->next_record_id_lsb) + sizeof(resp->next_record_id_msb);
}
return ret;