summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2022-05-04 11:09:14 +0300
committerJakub Kicinski <kuba@kernel.org>2022-05-05 18:25:57 -0700
commit85db6352fc8a158a893151baa1716463d34a20d0 (patch)
tree8a18da7d4f72a5f7207e1aff7931c0bdb765921b /tools/perf/scripts/python/export-to-sqlite.py
parent690447a22c70402c2ef142d8328c909ee7cea853 (diff)
net: Fix features skip in for_each_netdev_feature()
The find_next_netdev_feature() macro gets the "remaining length", not bit index. Passing "bit - 1" for the following iteration is wrong as it skips the adjacent bit. Pass "bit" instead. Fixes: 3b89ea9c5902 ("net: Fix for_each_netdev_feature on Big endian") Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Link: https://lore.kernel.org/r/20220504080914.1918-1-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions