Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'x86_sgx_for_6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull sgx update from Dave Hansen:

- Use vmalloc_array() instead of vmalloc()

* tag 'x86_sgx_for_6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/sgx: Use vmalloc_array() instead of vmalloc()

+1 -1
+1 -1
arch/x86/kernel/cpu/sgx/main.c
··· 630 630 if (!section->virt_addr) 631 631 return false; 632 632 633 - section->pages = vmalloc(nr_pages * sizeof(struct sgx_epc_page)); 633 + section->pages = vmalloc_array(nr_pages, sizeof(struct sgx_epc_page)); 634 634 if (!section->pages) { 635 635 memunmap(section->virt_addr); 636 636 return false;