+ mm-cma-use-%pa-to-avoid-truncating-the-physical-address.patch added to -mm tree

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

 



The patch titled
     Subject: mm: cma: use %pa to avoid truncating the physical address
has been added to the -mm tree.  Its filename is
     mm-cma-use-%pa-to-avoid-truncating-the-physical-address.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-cma-use-%pa-to-avoid-truncating-the-physical-address.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-cma-use-%pa-to-avoid-truncating-the-physical-address.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: Kevin Cernekee <cernekee@xxxxxxxxx>
Subject: mm: cma: use %pa to avoid truncating the physical address

[gregory.0xf0@xxxxxxxxx: rebased from 3.14 and updated commit message]
Signed-off-by: Kevin Cernekee <cernekee@xxxxxxxxx>
Signed-off-by: Gregory Fong <gregory.0xf0@xxxxxxxxx>
Michal Nazarewicz <mina86@xxxxxxxxxx>
Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/cma.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN mm/cma.c~mm-cma-use-%pa-to-avoid-truncating-the-physical-address mm/cma.c
--- a/mm/cma.c~mm-cma-use-%pa-to-avoid-truncating-the-physical-address
+++ a/mm/cma.c
@@ -289,8 +289,8 @@ int __init cma_declare_contiguous(phys_a
 		goto err;
 
 	totalcma_pages += (size / PAGE_SIZE);
-	pr_info("Reserved %ld MiB at %08lx\n", (unsigned long)size / SZ_1M,
-		(unsigned long)base);
+	pr_info("Reserved %ld MiB at %pa\n", (unsigned long)size / SZ_1M,
+		&base);
 	return 0;
 
 err:
_

Patches currently in -mm which might be from cernekee@xxxxxxxxx are

mm-cma-use-%pa-to-avoid-truncating-the-physical-address.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