scsi: fnic: Use vzalloc()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 27 May 2023 18:06:37 +0000 (20:06 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Jun 2023 00:07:42 +0000 (20:07 -0400)
commit14ce2c261d6cce89023a1df770d83df859e89f7e
tree15ddd5e2ce7cbc17abed3faf83f5b4c67951ef0c
parent4851c39aae3a917d09983e1c6948fa9d749b5448
scsi: fnic: Use vzalloc()

Use vzalloc() instead of hand writing it with vmalloc()+memset().  This is
less verbose.

This also fixes some style issues :)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/a1179941a6d440140513e681f4f3a1b92c8d83ae.1685210773.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_debugfs.c