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/pldmd/pldmd.cpp b/pldmd/pldmd.cpp
index 191dd11..9f5bbaa 100644
--- a/pldmd/pldmd.cpp
+++ b/pldmd/pldmd.cpp
@@ -104,9 +104,9 @@
{
if (hdrFields.pldm_type != PLDM_FWUP)
{
- response =
- invoker.handle(hdrFields.pldm_type, hdrFields.command,
- request, requestLen);
+ response = invoker.handle(hdrFields.pldm_type,
+ hdrFields.command, request,
+ requestLen);
}
else
{
@@ -376,8 +376,8 @@
}
iov[0].iov_base = &requestMsg[0];
- iov[0].iov_len =
- sizeof(requestMsg[0]) + sizeof(requestMsg[1]);
+ iov[0].iov_len = sizeof(requestMsg[0]) +
+ sizeof(requestMsg[1]);
iov[1].iov_base = (*response).data();
iov[1].iov_len = (*response).size();