diff options
| author | Gongwei Li <ligongwei@kylinos.cn> | 2025-11-21 11:10:41 +0800 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2025-12-05 23:16:49 +0000 |
| commit | b5110eaf67530091343b519d8abd0cddd14660f2 (patch) | |
| tree | dc7f3df606ac2add642614078cc3f07562d6eac0 /include/hyperv/hvhdk.h | |
| parent | c720e6a873cc97bdfe8912986e26ceaeeaa6b240 (diff) | |
Drivers: hv: use kmalloc_array() instead of kmalloc()
Replace kmalloc() with kmalloc_array() to prevent potential
overflow, as recommended in Documentation/process/deprecated.rst.
Signed-off-by: Gongwei Li <ligongwei@kylinos.cn>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/hyperv/hvhdk.h')
0 files changed, 0 insertions, 0 deletions
