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: I0a1783b101aa4e7d4b80fd5e1fc1b2beb86c5caa
diff --git a/pcie_i2c.cpp b/pcie_i2c.cpp
index 8a8b839..854609c 100644
--- a/pcie_i2c.cpp
+++ b/pcie_i2c.cpp
@@ -17,9 +17,10 @@
#include "commands.hpp"
#include "handler.hpp"
+#include <ipmid/api-types.hpp>
+
#include <cstdint>
#include <cstring>
-#include <ipmid/api-types.hpp>
#include <span>
#include <string>
#include <tuple>
@@ -84,8 +85,8 @@
uint32_t i2c_bus_number = std::get<0>(i2cEntry);
std::string pcie_slot_name = std::get<1>(i2cEntry);
- int length =
- sizeof(struct PcieSlotI2cBusMappingReply) + pcie_slot_name.length();
+ int length = sizeof(struct PcieSlotI2cBusMappingReply) +
+ pcie_slot_name.length();
// TODO (jaghu) : Add a way to dynamically receive the MAX_IPMI_BUFFER
// value and change error to IPMI_CC_REQUESTED_TOO_MANY_BYTES.