Searched hist:a26f1527 (Results 1 – 1 of 1) sorted by relevance
/openbmc/openpower-occ-control/ |
H A D | occ_manager.cpp | a26f1527 Wed Aug 25 15:50:20 CDT 2021 Matt Spinler <spinler@us.ibm.com> Check for read failures during sensor monitoring Put in some minimal error handling for read failures on sysfs files used for sensor monitoring. This adds a common readFile function that will wrap opening and reading a file. It will throw an exception on a failure, which would happen if the driver had a problem talking to the OCC. It still just skips that sensor if there are any errors. It still needs to be figured out what to actually do in this case, but it will at least detect an error during a read, which the previous code didn't do yet. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I06196470d5fd264ecb8bceda52701e3e6af048c1
|