summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-10-24 22:48:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-27 06:28:33 +0300
commit2c2934c80e139ad4528fda2197c17938249e8eff (patch)
tree1cb03bfb42a7c43e3646270aa42eabf13abc096f /tools/perf/scripts/python/export-to-postgresql.py
parent1ea7d8026300f72344bb574a12667f9543f73348 (diff)
downloadlinux-2c2934c80e139ad4528fda2197c17938249e8eff.tar.xz
scsi: elx: Use 'bitmap_zalloc()' when applicable
'sli4->ext[i].use_map' is a bitmap. Use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid some open-coded arithmetic in allocator arguments. Also change the corresponding 'kfree()' into 'bitmap_free()' to keep consistency. Link: https://lore.kernel.org/r/2a0a83949fb896a0a236dcca94dfdc8486d489f5.1635104793.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions