diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2016-03-02 15:47:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 21:31:56 +0300 |
commit | ca4f2d5036be809b0f82ce38a7663d237efa3986 (patch) | |
tree | 34756e4ea4c9eea5abb3acea50f3ecfe59e3dec0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a524ef77d54d7e12045841f4fcc430c1850f71f2 (diff) | |
download | linux-ca4f2d5036be809b0f82ce38a7663d237efa3986.tar.xz |
bnx2x: access cfc_del_event only if the opcode is CFC_DEL
It's not really a bug, but it was odd that bnx2x_eq_int() read the
message data as if it were a cfc_del_event regardless of the event type.
It's cleaner to access only the appropriate member of union event_data
after checking the event opcode.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions