clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/fw-update/device_updater.cpp b/fw-update/device_updater.cpp
index 6123365..4009a48 100644
--- a/fw-update/device_updater.cpp
+++ b/fw-update/device_updater.cpp
@@ -204,9 +204,9 @@
uint8_t compResponse = 0;
uint8_t compResponseCode = 0;
- auto rc =
- decode_pass_component_table_resp(response, respMsgLen, &completionCode,
- &compResponse, &compResponseCode);
+ auto rc = decode_pass_component_table_resp(response, respMsgLen,
+ &completionCode, &compResponse,
+ &compResponseCode);
if (rc)
{
// Handle error scenario
@@ -447,8 +447,8 @@
auto responseMsg = reinterpret_cast<pldm_msg*>(response.data());
uint8_t transferResult = 0;
- auto rc =
- decode_transfer_complete_req(request, payloadLength, &transferResult);
+ auto rc = decode_transfer_complete_req(request, payloadLength,
+ &transferResult);
if (rc)
{
error("Decoding TransferComplete request failed, EID={EID}, RC = {RC}",
@@ -693,4 +693,4 @@
} // namespace fw_update
-} // namespace pldm
\ No newline at end of file
+} // namespace pldm