aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2013-08-14 22:23:46 -0700
committerBenjamin Herrenschmidt <[email protected]>2013-08-27 14:45:11 +1000
commit638a405fb52cfb2e7f559e869dd0291420b9e84d (patch)
treec17fa51b464d2e71edb9525b2176a0019e6e2514 /tools/perf/util/trace-event-scripting.c
parentd8e533b45fd98aa72957d9580d97aa0ab45265ad (diff)
powerpc/pseries: Fix over writing of rtas return code in update_dt_node
The rc variable is initially used to store the return code from the ibm,update-properties rtas call which returns 0 or 1 on success. A return code of 1 indicates that ibm,update-properties must be called again for the node. However, the rc variable is overwritten by a call to update_dt_prop which returns 0 on success. This results in ibm,update-properties not being called again for the given node when the rtas call rc was previously 1. Signed-off-by: Tyrel Datwyler <[email protected]> Acked-by: Nathan Fontenot <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions