summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-11-25 13:23:59 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-30 20:42:19 -0800
commit05a7b52ee5e489a0caf52299ee73c18409c086b3 (patch)
tree019a8b15e5c0ece9599f34e7d88c949a4b6c0f1d /tools/perf/scripts/python/export-to-sqlite.py
parentb6a0ecaee2e683479353d0403fa31dcb4bd2be3a (diff)
octeontx2-af: Use the bitmap API to allocate bitmaps
Use devm_bitmap_zalloc() instead of hand-writing it. This also makes the comment "Allocate bitmap for 32 entry mcam" more explicit because now 32 is really used in the allocation function, instead of an obscure 'sizeof(long)'. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/24177a9ee7043259448b735263d9cfd6a70e89a4.1669378798.git.christophe.jaillet@wanadoo.fr 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