diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-06-15 17:25:34 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-18 07:16:01 +1000 |
commit | 7185795a62589292015484985635b4a38029a2b9 (patch) | |
tree | 1cd29f85bcd557626219d2c400c8d97fc67ac5aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02b6505c8f84cbb4be459c9bf8ebbb7b0754e764 (diff) | |
download | linux-7185795a62589292015484985635b4a38029a2b9.tar.gz linux-7185795a62589292015484985635b4a38029a2b9.tar.bz2 linux-7185795a62589292015484985635b4a38029a2b9.zip |
powerpc/powernv: fix construction of opal PRD messages
We currently have a bug in the PRD code, where the contents of an
incoming message (beyond the header) will be overwritten by the list
item manipulations when adding to to the prd_msg_queue.
This change reorders struct opal_prd_msg_queue_item, so that the
message body doesn't overlap the list_head.
We also clarify the memcpy of the message, as we're copying unnecessary
bytes at the end of the message data.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions