Re: [PATCH 02/26] octeon_ep: use array_size
From: Jakub Kicinski
Date: Sat Jun 24 2023 - 18:28:34 EST
On Fri, 23 Jun 2023 23:14:33 +0200 Julia Lawall wrote:
> - oq->buff_info = vzalloc(oq->max_count * OCTEP_OQ_RECVBUF_SIZE);
> + oq->buff_info = vzalloc(array_size(oq->max_count, OCTEP_OQ_RECVBUF_SIZE));
vcalloc seems to exist, is there a reason array_size() is preferred?
--
pw-bot: cr