]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Use kcalloc()
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 13 Mar 2022 14:18:47 +0000 (15:18 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:52:05 +0000 (00:52 -0400)
commit7e4147f35b806030562c17f7063fbef70b149fdc
tree5132621680e23ad82c03cb2744ecba2e966025b1
parentaa4ae94b0de98b9f62aeaadac2f33483970e477d
scsi: lpfc: Use kcalloc()

Use kcalloc() instead of kmalloc() + memset().

Link: https://lore.kernel.org/r/20220313141847.109804-1-Julia.Lawall@inria.fr
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_debugfs.c