diff options
| author | Thorsten Blum <[email protected]> | 2024-11-12 18:26:34 +0000 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2024-11-12 19:11:42 +0000 |
| commit | f060c89dc1a3cfb6db3894e1d96980a568aa355c (patch) | |
| tree | 4518abf4bb5ca7c4327d206f5bb893746c6e9c63 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | Linux 6.12-rc7 (diff) | |
| download | kernel-f060c89dc1a3cfb6db3894e1d96980a568aa355c.tar.gz kernel-f060c89dc1a3cfb6db3894e1d96980a568aa355c.zip | |
x86/sgx: Use vmalloc_array() instead of vmalloc()
Use vmalloc_array() instead of vmalloc() to calculate the number of
bytes to allocate.
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Acked-by: Kai Huang <[email protected]>
Link: https://lore.kernel.org/all/20241112182633.172944-2-thorsten.blum%40linux.dev
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
