ARM: 9331/1: ARM/dma-mapping: replace kzalloc() and vzalloc() with kvzalloc()
authorChen Haonan <chen.haonan2@zte.com.cn>
Fri, 15 Dec 2023 10:04:40 +0000 (11:04 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 5 Jan 2024 13:14:28 +0000 (13:14 +0000)
commitc17d8847c3bef9e4fe4aef34edecc29cee3cd06f
tree84d350bea2512762bb3afcae7275dbd09e9cda6c
parent89320c9785e8429155f8dfa44a183b509866e852
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: Chen Haonan <chen.haonan2@zte.com.cn>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dma-mapping.c