liquidio: Use vzalloc()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 27 May 2023 19:40:08 +0000 (21:40 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 May 2023 11:07:58 +0000 (13:07 +0200)
commitbb269633f3da56ec65e4e5aa9d9fca0ef8b3d373
tree2d7269c57c3d22e4cc13b99210ba1d1b51b16e5b
parentd20dd0ea14072e8a90ff864b2c1603bd68920b4b
liquidio: Use vzalloc()

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

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/93b010824d9d92376e8d49b9eb396a0fa0c0ac80.1685216322.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c