efi: Correct comment on efi_memmap_alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Liu Zixian <liuzixian4@xxxxxxxxxx>

[ Commit db01ea882bf601252dad57242655da17fd9ad2f5 upstream ]

Returning zero means success now.

Signed-off-by: Liu Zixian <liuzixian4@xxxxxxxxxx>
Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/firmware/efi/memmap.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- 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)


Patches currently in stable-queue which might be from kroah.com@xxxxxxxxxxxxxxx are

queue-5.10/efi-correct-comment-on-efi_memmap_alloc.patch
queue-5.10/ipv6-annotate-some-data-races-around-sk-sk_prot.patch
queue-5.10/tcp-fix-data-races-around-icsk-icsk_af_ops.patch
queue-5.10/ipv6-fix-data-races-around-sk-sk_prot.patch
queue-5.10/efi-xen-set-efi_paravirt-for-xen-dom0-boot-on-all-architectures.patch
queue-5.10/mptcp-pm-inc-rmaddr-mib-counter-once-per-rm_addr-id.patch
queue-5.10/mptcp-ensure-snd_una-is-properly-initialized-on-connect.patch
queue-5.10/efi-memmap-move-manipulation-routines-into-x86-arch-tree.patch
queue-5.10/drivers-fix-typo-in-firmware-efi-memmap.c.patch
queue-5.10/mptcp-pm-update-add_addr-counters-after-connect.patch
queue-5.10/efi-x86-free-efi-memory-map-only-when-installing-a-new-one.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux