diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-04-16 18:43:48 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-17 01:12:13 +0300 |
commit | b5c46a53ee6b1f97104883d93847b2b2fdddc289 (patch) | |
tree | fcfb20d259c7a37a785718d90892b9f61db7888d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5c090abf945bf5fd496c861f371410888be8f4de (diff) | |
download | linux-b5c46a53ee6b1f97104883d93847b2b2fdddc289.tar.xz |
hwmon: (occ) Store error condition for rate-limited polls
The OCC driver limits the rate of sending poll commands to the OCC. If a
user reads a hwmon entry after a poll response resulted in an error and
is rate-limited, the error is invisible to the user. Fix this by storing
the last error and returning that in the rate-limited case.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions