lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 22 Oct 2014 17:19:33 -0700
From:	Gregory Fong <gregory.0xf0@...il.com>
To:	Marek Szyprowski <m.szyprowski@...sung.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Kevin Cernekee <cernekee@...il.com>,
	Gregory Fong <gregory.0xf0@...il.com>, linux-mm@...ck.org
Subject: Re: [PATCH] mm: cma: Use %pa to avoid truncating the physical address

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@...il.com> wrote:
> From: Kevin Cernekee <cernekee@...il.com>
>
> Signed-off-by: Kevin Cernekee <cernekee@...il.com>
> [gregory.0xf0@...il.com: rebased from 3.14 and updated commit message]
> Signed-off-by: Gregory Fong <gregory.0xf0@...il.com>
> ---
>  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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ