summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-10-08 15:17:38 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-11 05:08:09 -0700
commitbee1f753bfcb19660d8ad713b9dd3939630854b6 (patch)
treedef6c0073fa9ac734c816f17b9fb1dd37260f939 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent4b0c2541cbf223abd38b235146e30a3d207d3bfe (diff)
mlxsw: Fix bug in __mlxsw_item_bit_array_offset
When calculating the shift needed in order to access a bit array element in a byte, we should multiply the index by the element size and not assume it is fixed at 2-bits. Fixes: 93c1edb27f9e ("mlxsw: Introduce Mellanox switch driver core") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.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