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/oem/ibm/libpldmresponder/file_io_by_type.cpp b/oem/ibm/libpldmresponder/file_io_by_type.cpp
index ec001fa..0f93efb 100644
--- a/oem/ibm/libpldmresponder/file_io_by_type.cpp
+++ b/oem/ibm/libpldmresponder/file_io_by_type.cpp
@@ -48,8 +48,8 @@
length -= dma::maxSize;
address += dma::maxSize;
}
- auto rc =
- xdmaInterface.transferDataHost(fd, offset, length, address, upstream);
+ auto rc = xdmaInterface.transferDataHost(fd, offset, length, address,
+ upstream);
return rc < 0 ? PLDM_ERROR : PLDM_SUCCESS;
}
@@ -59,8 +59,8 @@
dma::DMA xdmaInterface;
while (length > dma::maxSize)
{
- auto rc =
- xdmaInterface.transferHostDataToSocket(fd, dma::maxSize, address);
+ auto rc = xdmaInterface.transferHostDataToSocket(fd, dma::maxSize,
+ address);
if (rc < 0)
{
return PLDM_ERROR;