summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-04-16 15:51:04 +0000
committerAndrew Jeffery <andrew@aj.id.au>2019-04-18 11:11:09 +0930
commit39879fe4857e5ac8f19a351f57c3e6a206b05af4 (patch)
treece86ae9f16a9ba9bee2a0b409f8b257fdae36bee /tools/perf/util/scripting-engines/trace-event-python.c
parent2ed835e9a1dc6e38a05b1755142e657af38e2b71 (diff)
downloadtalos-obmc-linux-39879fe4857e5ac8f19a351f57c3e6a206b05af4.tar.gz
talos-obmc-linux-39879fe4857e5ac8f19a351f57c3e6a206b05af4.zip
hwmon (occ): Prevent sysfs error attribute from returning error
The error sysfs attribute returns the stored error state of the OCC and doesn't depend on the OCC poll response. Therefore, split the error attribute into it's own function to avoid failing out of the function if the poll response fails. OpenBMC-Staging-Count: 1 Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud