commit | 3ebaa3e6de4a28ab5b19e357e5f334dd2cd54b86 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Jun 21 12:15:18 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Fri Jun 21 12:15:18 2019 -0700 |
tree | 299fc5135c76cc40583c4ec74dd345076ba0d030 | |
parent | 6206723d6cd8a7fa678cedae0066b3dec4b6297e [diff] |
sensor: remove redundant condition [sensor.cpp:147]: (style) Redundant condition: statusIface. '!statusIface || (statusIface && statusIface->functional())' is equivalent to '!statusIface || statusIface->functional()' Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4f3c3f6e2e009dfaffc5671dc94b2f553f7029ef
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.