diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-11-07 11:42:59 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-12-04 13:03:27 -0500 |
commit | 5f8822c4a4209b186ba655841993e5797c31e19e (patch) | |
tree | e6507cdef25cffec2f8d6565d4103b636f191ec3 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) |
scsi: fnic: Use vcalloc() instead of vmalloc() and memset(0)
Use vcalloc() instead of vmalloc() followed by memset(0) to simplify the
functions fnic_trace_buf_init() and fnic_fc_trace_init().
Compile-tested only.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20241107104300.1252-1-thorsten.blum@linux.dev
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions