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: Id0f122429f0f3299803e6ecea064d7a1736559e2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/ecc_manager.cpp b/ecc_manager.cpp
index 6f19ddd..6a4f9a8 100644
--- a/ecc_manager.cpp
+++ b/ecc_manager.cpp
@@ -2,10 +2,11 @@
#include "ecc_manager.hpp"
+#include <phosphor-logging/elog-errors.hpp>
+
#include <filesystem>
#include <fstream>
#include <iostream>
-#include <phosphor-logging/elog-errors.hpp>
#include <string>
using namespace phosphor::logging;
@@ -24,7 +25,6 @@
static constexpr uint16_t selBMCGenID = 0x0020;
void ECC::init()
{
-
namespace fs = std::filesystem;
if (fs::exists(sysfsRootPath))
@@ -36,7 +36,6 @@
}
catch (const std::system_error& e)
{
-
log<level::INFO>(
"Logging failing sysfs file",
phosphor::logging::entry("FILE=%s", sysfsRootPath));