commit | 8a17c303b2680e4d3a31136623ad2b9c406b5b4d | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Thu Sep 02 15:07:11 2021 -0700 |
committer | Ed Tanous <ed@tanous.net> | Wed Sep 08 16:35:20 2021 +0000 |
tree | 5218aa306e2d715840f4ca09401054dca0f9fb33 | |
parent | 5770a6fd6af5e393317c305094971a0390f626da [diff] |
Make dbus-sensors compile with clang-13 clang-13 finds a lot more warnings for unused variables than it used to, and also picks up some warnings about errant std::moves that are in place. This commit fixes them. Tested: code compiles against clang-13 Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I80864287b7131acfe936c4b28afaf34ababb3029
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access