Skip to content
Commit c17d8847 authored by Chen Haonan's avatar Chen Haonan Committed by Russell King (Oracle)
Browse files

ARM: 9331/1: ARM/dma-mapping: replace kzalloc() and vzalloc() with kvzalloc()



using kvzalloc() simplifies the code by avoiding the
use of different memory allocation functions for different
situations, making the code more uniform and readable.

Signed-off-by: default avatarChen Haonan <chen.haonan2@zte.com.cn>
Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
parent 89320c97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment