linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mm: fix type of the arm_dma_limit global variable
Date: Wed, 6 Jun 2012 10:29:46 +0100	[thread overview]
Message-ID: <20120606092946.GL8262@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1338974843-5079-1-git-send-email-m.szyprowski@samsung.com>

On Wed, Jun 06, 2012 at 11:27:23AM +0200, Marek Szyprowski wrote:
> arm_dma_limit stores physical address of maximal address accessible by DMA,
> so the phys_addr_t type makes much more sence for it instead of u32. This
> patch fixes the following build warning:
> 
> arch/arm/mm/init.c:380: warning: comparison of distinct pointer types lacks a cast

I assume this is not compile tested with CONFIG_ZONE_DMA=y, because:

arch/arm/mm/mm.h:extern u32 arm_dma_limit;

would also need to be fixed.

  reply	other threads:[~2012-06-06  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 22:07 Another CMA build warning Russell King - ARM Linux
2012-06-06  9:27 ` [PATCH] ARM: mm: fix type of the arm_dma_limit global variable Marek Szyprowski
2012-06-06  9:29   ` Russell King - ARM Linux [this message]
2012-06-06 10:35     ` [PATCHv2] " Marek Szyprowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120606092946.GL8262@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).