diff options
| author | 2025-08-16 17:06:52 +0800 | |
|---|---|---|
| committer | 2025-08-18 17:49:51 -0700 | |
| commit | 4490d075c2d989f3403059cbd30775ae21dbd754 (patch) | |
| tree | fff56291cd5cd120ad270cf32ce593468018f1e6 /scripts/Makefile.thinlto | |
| parent | docs: netdev: refine the clean-up patch examples (diff) | |
eth: intel: use vmalloc_array() to simplify code
Remove array_size() calls and replace vmalloc() with vmalloc_array() to
simplify the code and maintain consistency with existing kmalloc_array()
usage.
vmalloc_array() is also optimized better, resulting in less instructions
being used.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://patch.msgid.link/20250816090659.117699-2-rongqianfeng@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
