+ mm-add-utility-for-early-copy-from-unmapped-ram-v4.patch added to -mm tree

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

 



The patch titled
     Subject: mm-add-utility-for-early-copy-from-unmapped-ram-v4
has been added to the -mm tree.  Its filename is
     mm-add-utility-for-early-copy-from-unmapped-ram-v4.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-add-utility-for-early-copy-from-unmapped-ram-v4.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-utility-for-early-copy-from-unmapped-ram-v4.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Mark Salter <msalter@xxxxxxxxxx>
Subject: mm-add-utility-for-early-copy-from-unmapped-ram-v4

Fixed sparse warning in copy_from_early_mem()

Signed-off-by: Mark Salter <msalter@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/early_ioremap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/early_ioremap.c~mm-add-utility-for-early-copy-from-unmapped-ram-v4 mm/early_ioremap.c
--- a/mm/early_ioremap.c~mm-add-utility-for-early-copy-from-unmapped-ram-v4
+++ a/mm/early_ioremap.c
@@ -232,7 +232,7 @@ void __init copy_from_early_mem(void *de
 			clen = MAX_MAP_CHUNK - slop;
 		p = early_memremap(src & PAGE_MASK, clen + slop);
 		memcpy(dest, p + slop, clen);
-		early_iounmap(p, clen + slop);
+		early_memunmap(p, clen + slop);
 		dest += clen;
 		src += clen;
 		size -= clen;
_

Patches currently in -mm which might be from msalter@xxxxxxxxxx are

mm-add-utility-for-early-copy-from-unmapped-ram.patch
mm-add-utility-for-early-copy-from-unmapped-ram-v4.patch
arm64-support-initrd-outside-kernel-linear-map.patch
arm64-support-initrd-outside-kernel-linear-map-v4.patch
x86-use-generic-early-mem-copy.patch
x86-use-generic-early-mem-copy-fix.patch
linux-next.patch
mm-mpx-add-vm_flags_t-vm_flags-arg-to-do_mmap_pgoff-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux