Re: [PATCH] net/mlx5: Use 2-factor allocator calls

From: Tariq Toukan
Date: Sun Jul 08 2018 - 04:13:05 EST




On 08/07/2018 11:06 AM, Leon Romanovsky wrote:
On Sat, Jul 07, 2018 at 08:15:53PM +0900, David Miller wrote:
From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2018 10:28:47 -0700

This restores the use of 2-factor allocation helpers that were already
fixed treewide. Please do not use open-coded multiplication; prefer,
instead, using 2-factor allocation helpers.

Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Saeed and co., please review.

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>


Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxxxx>