commit | 94a04c4e9162800af7b2823cd52292e3aa189dc3 | [log] [tgz] |
---|---|---|
author | Kun Yi <kunyi731@gmail.com> | Wed Aug 21 09:43:20 2019 -0700 |
committer | Kun Yi <kunyi731@gmail.com> | Thu Sep 05 17:20:48 2019 -0700 |
tree | a6e5e56e47c6b7b38fee5edf4089b89ab618eab9 | |
parent | 9bbe60260d080b31b0e2ceaef42f95caaf28e553 [diff] |
Suppress clang-format on one case Newer version of clang-format will format this pair of braces differently than clang-format-8, which is the version used in upstream CI. Turn off clang-format to avoid a clang version update in CI breaking us. Difference shown below. ``` Change-Id: I1633522f0c028af3cfd395bb143a5ea00410648e --- a/mainloop.cpp (clang 8.0) +++ b/mainloop.cpp (clang 10.0) @@ -80,8 +80,7 @@ void updateSensorInterfaces(InterfaceMap& ifaces, int64_t value) { switch (iface.first) { - case InterfaceType::VALUE: - { + case InterfaceType::VALUE: { ``` Signed-off-by: Kun Yi <kunyi731@gmail.com> Change-Id: I1339a10173a4632decbe1be6c4d7ab8a397a9f38
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.