Messages in this thread | | | Date | Wed, 17 Jun 2020 15:04:30 -0700 (PDT) | Subject | Re: [PATCH] liquidio: Replace vmalloc_node + memset with vzalloc_node and use array_size | From | David Miller <> |
| |
From: "Gustavo A. R. Silva" <gustavoars@kernel.org> Date: Mon, 15 Jun 2020 16:18:55 -0500
> Use vzalloc/vzalloc_node instead of the vmalloc/vzalloc_node and memset. > > Also, notice that vzalloc_node() function has no 2-factor argument form > to calculate the size for the allocation, so multiplication factors need > to be wrapped in array_size(). > > This issue was found with the help of Coccinelle and, audited and fixed > manually. > > Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83 > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Applied to net-next, thanks.
| |