All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb+git@google.com>
To: stable@vger.kernel.org
Subject: [PATCH 5.10.y 2/5] efi: Correct comment on efi_memmap_alloc
Date: Sat, 29 Jun 2024 17:13:59 +0200	[thread overview]
Message-ID: <20240629151357.866803-7-ardb+git@google.com> (raw)
In-Reply-To: <20240629151357.866803-6-ardb+git@google.com>

From: Liu Zixian <liuzixian4@huawei.com>

[ Commit db01ea882bf601252dad57242655da17fd9ad2f5 upstream ]

Returning zero means success now.

Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 drivers/firmware/efi/memmap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/firmware/efi/memmap.c b/drivers/firmware/efi/memmap.c
index b4070b5e4c45..3aaf717aad05 100644
--- a/drivers/firmware/efi/memmap.c
+++ b/drivers/firmware/efi/memmap.c
@@ -59,8 +59,7 @@ static void __init efi_memmap_free(void)
  * Depending on whether mm_init() has already been invoked or not,
  * either memblock or "normal" page allocation is used.
  *
- * Returns the physical address of the allocated memory map on
- * success, zero on failure.
+ * Returns zero on success, a negative error code on failure.
  */
 int __init efi_memmap_alloc(unsigned int num_entries,
 		struct efi_memory_map_data *data)
-- 
2.45.2.803.g4e1b14247a-goog


  reply	other threads:[~2024-06-29 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 16:40 FAILED: patch "[PATCH] efi/x86: Free EFI memory map only when installing a new one." failed to apply to 5.10-stable tree gregkh
2024-06-29 15:13 ` [PATCH 5.10.y 1/5] drivers: fix typo in firmware/efi/memmap.c Ard Biesheuvel
2024-06-29 15:13   ` Ard Biesheuvel [this message]
2024-06-29 15:14   ` [PATCH 5.10.y 3/5] efi: memmap: Move manipulation routines into x86 arch tree Ard Biesheuvel
2024-06-29 15:14   ` [PATCH 5.10.y 4/5] efi: xen: Set EFI_PARAVIRT for Xen dom0 boot on all architectures Ard Biesheuvel
2024-06-29 15:14   ` [PATCH 5.10.y 5/5] efi/x86: Free EFI memory map only when installing a new one Ard Biesheuvel
2024-07-02 10:35   ` [PATCH 5.10.y 1/5] drivers: fix typo in firmware/efi/memmap.c Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240629151357.866803-7-ardb+git@google.com \
    --to=ardb+git@google.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.