aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Durrant <[email protected]>2016-05-18 08:53:01 +0100
committerDavid S. Miller <[email protected]>2016-05-20 10:51:03 -0700
commitf86911e2de129fb3c8ca402c251138d12c4a9d37 (patch)
tree3135276dff83f6e6cff67ec54ca2c8261b67b28b /tools/perf/scripts/python/export-to-postgresql.py
parent185be5aef1739fff0298f59b54f2ef7ccf5a849d (diff)
xen-netback: correct length checks on hash copy_ops
The length checks on the grant table copy_ops for setting hash key and hash mapping are checking the local 'len' value which is correct in the case of the former but not the latter. This was picked up by static analysis checks. This patch replaces checks of 'len' with 'copy_op.len' in both cases to correct the incorrect check, keep the two checks consistent, and to make it clear what the checks are for. Signed-off-by: Paul Durrant <[email protected]> Reported-by: Dan Carpenter <[email protected]> Cc: Wei Liu <[email protected]> Acked-by: Wei Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions