commit | 9f31558231f71b3e8544ae970e291d01116df7cf | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Tue May 25 13:32:14 2021 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Thu Jun 03 10:48:27 2021 +0930 |
tree | 2cb90611c03967503f14efd1a1651f00cf3df7a4 | |
parent | a9d1508b4493d6c84eede78c61eddf7f5f6a9f97 [diff] |
NVMeSensorMain: Fix clang-tidy bugprone-narrowing-conversion issue clang-tidy-11 -p=build-clang ../src/NVMeSensorMain.cpp ../src/NVMeSensorMain.cpp:104:31: error: narrowing conversion from 'unsigned int' to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,-warnings-as-errors] int rootBus = busNumber; ^ Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I7e8312368a2b41924b2092d9324d515c6c2c81c8
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