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.

kho: fix doc for kho_restore_pages()

This function returns NULL if kho_restore_page() returns NULL, which
happens in a couple of corner cases. It never returns an error code.

Link: https://lkml.kernel.org/r/20260123190506.1058669-1-tycho@kernel.org
Signed-off-by: Tycho Andersen (AMD) <tycho@kernel.org>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Tycho Andersen (AMD) and committed by
Andrew Morton
0758293d f653ff7a

+1 -1
+1 -1
kernel/liveupdate/kexec_handover.c
··· 299 299 * Restore a contiguous list of order 0 pages that was preserved with 300 300 * kho_preserve_pages(). 301 301 * 302 - * Return: 0 on success, error code on failure 302 + * Return: the first page on success, NULL on failure. 303 303 */ 304 304 struct page *kho_restore_pages(phys_addr_t phys, unsigned long nr_pages) 305 305 {