Re: [PATCH v2] ext4: Using kmalloc_array() for array space allocation
From: Theodore Ts'o
Date: Thu Aug 14 2025 - 10:57:54 EST
On Mon, 11 Aug 2025 20:58:16 +0800, Liao Yuanhong wrote:
> Replace kmalloc(size * sizeof) with kmalloc_array() for safer memory
> allocation and overflow prevention.
>
>
Applied, thanks!
[1/1] ext4: Using kmalloc_array() for array space allocation
commit: 76dba1fe277f6befd6ef650e1946f626c547387a
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>