Re: [PATCH] mm: cma: Use %pa to avoid truncating the physical address

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

 



Replying to change to use the real linux-mm list on CC (sorry for the noise!)

On Wed, Oct 22, 2014 at 5:09 PM, Gregory Fong <gregory.0xf0@xxxxxxxxx> wrote:
> From: Kevin Cernekee <cernekee@xxxxxxxxx>
>
> Signed-off-by: Kevin Cernekee <cernekee@xxxxxxxxx>
> [gregory.0xf0@xxxxxxxxx: rebased from 3.14 and updated commit message]
> Signed-off-by: Gregory Fong <gregory.0xf0@xxxxxxxxx>
> ---
>  mm/cma.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/cma.c b/mm/cma.c
> index 963bc4a..154efb0 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -288,8 +288,8 @@ int __init cma_declare_contiguous(phys_addr_t base,
>         if (ret)
>                 goto err;
>
> -       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:
> --
> 1.9.1
>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]