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: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/globalhandler.cpp b/globalhandler.cpp
index 4012ce0..8161988 100644
--- a/globalhandler.cpp
+++ b/globalhandler.cpp
@@ -4,10 +4,11 @@
#include <ipmid/utils.hpp>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
-#include <string>
#include <xyz/openbmc_project/Common/error.hpp>
#include <xyz/openbmc_project/State/BMC/server.hpp>
+#include <string>
+
static constexpr auto bmcStateRoot = "/xyz/openbmc_project/state";
static constexpr auto bmcStateIntf = "xyz.openbmc_project.State.BMC";
static constexpr auto reqTransition = "RequestedBMCTransition";
@@ -22,8 +23,8 @@
{
sdbusplus::bus_t bus{ipmid_get_sd_bus_connection()};
- auto bmcStateObj =
- ipmi::getDbusObject(bus, bmcStateIntf, bmcStateRoot, match);
+ auto bmcStateObj = ipmi::getDbusObject(bus, bmcStateIntf, bmcStateRoot,
+ match);
auto service = ipmi::getService(bus, bmcStateIntf, bmcStateObj.first);
@@ -54,7 +55,6 @@
void register_netfn_global_functions()
{
-
// Cold Reset
ipmi::registerHandler(ipmi::prioOpenBmcBase, ipmi::netFnApp,
ipmi::app::cmdColdReset, ipmi::Privilege::Admin,