diff options
| author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-06 15:46:33 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-08-20 04:56:23 +0300 |
| commit | 6b5da52a1825d600cdee1dd8bf90e95fa12620f0 (patch) | |
| tree | 979993833c2c9f3130a4bcf67c63dde20fa44687 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | daedd69abfee3a871b3a8791ffe20b398e055b87 (diff) | |
| download | linux-6b5da52a1825d600cdee1dd8bf90e95fa12620f0.tar.xz | |
scsi: scsi_debug: Use vcalloc() to simplify code
Use vcalloc() instead of vmalloc() followed by bitmap_zero() to simplify
the function sdebug_add_store().
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://lore.kernel.org/r/20250806124633.383426-3-rongqianfeng@vivo.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
