Commit f060c89d authored by Thorsten Blum's avatar Thorsten Blum Committed by Dave Hansen
Browse files

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: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Acked-by: default avatarKai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/all/20241112182633.172944-2-thorsten.blum%40linux.dev
parent 2d5404ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment