Skip to contentSkip to conversation

kho-fix-doc-for-kho_restore_pages.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Feb 8

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kho: fix doc for kho_restore_pages()
has been removed from the -mm tree. Its filename was
kho-fix-doc-for-kho_restore_pages.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: "Tycho Andersen (AMD)" <[email protected]>
Subject: kho: fix doc for kho_restore_pages()
Date: Fri, 23 Jan 2026 12:05:06 -0700

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

---

 kernel/liveupdate/kexec_handover.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/liveupdate/kexec_handover.c renamed from kernel/liveupdate/kexec_handover.c~kho-fix-doc-for-kho_restore_pages +1 -1
@@ -299,7 +299,7 @@ EXPORT_SYMBOL_GPL(kho_restore_folio);
  * Restore a contiguous list of order 0 pages that was preserved with
  * kho_preserve_pages().
  *
- * Return: 0 on success, error code on failure
+ * Return: the first page on success, NULL on failure.
  */
 struct page *kho_restore_pages(phys_addr_t phys, unsigned long nr_pages)
 {

_

Patches currently in -mm which might be from [email protected] are