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: I677d72d4d8d7ff28d2708b51ded916e2287974ff
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/peci.c b/peci.c
index 5b6346b..ab69234 100644
--- a/peci.c
+++ b/peci.c
@@ -377,8 +377,8 @@
cmd.addr = target;
- EPECIStatus ret =
- HW_peci_issue_cmd(PECI_IOC_GET_TEMP, (char*)&cmd, peci_fd);
+ EPECIStatus ret = HW_peci_issue_cmd(PECI_IOC_GET_TEMP, (char*)&cmd,
+ peci_fd);
if (ret == PECI_CC_SUCCESS)
{
@@ -807,9 +807,9 @@
{
return PECI_CC_DRIVER_ERR;
}
- ret =
- peci_RdPCIConfigLocal_seq_dom(target, domainId, u8Bus, u8Device, u8Fcn,
- u16Reg, u8ReadLen, pPCIReg, peci_fd, cc);
+ ret = peci_RdPCIConfigLocal_seq_dom(target, domainId, u8Bus, u8Device,
+ u8Fcn, u16Reg, u8ReadLen, pPCIReg,
+ peci_fd, cc);
peci_Close(peci_fd);
return ret;
@@ -1832,9 +1832,9 @@
return PECI_CC_CPU_NOT_PRESENT;
}
- ret =
- peci_RdPkgConfig(clientAddr, PECI_MBX_INDEX_CPU_ID, PECI_PKG_ID_CPU_ID,
- sizeof(uint32_t), (uint8_t*)&cpuid, cc);
+ ret = peci_RdPkgConfig(clientAddr, PECI_MBX_INDEX_CPU_ID,
+ PECI_PKG_ID_CPU_ID, sizeof(uint32_t),
+ (uint8_t*)&cpuid, cc);
// Separate out the model and stepping (bits 3:0) from the CPUID
*cpuModel = cpuid & 0xFFFFFFF0;