linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>,
	Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Subject: Re: [can:for-davem 3/3] drivers/net/can/ti_hecc.c:909:7: warning: assignment makes pointer from integer without a cast
Date: Sat, 21 Dec 2013 19:57:23 -0300	[thread overview]
Message-ID: <20131221225722.GA12243@localhost> (raw)
In-Reply-To: <52B60F21.5070502@pengutronix.de>

On Sat, Dec 21, 2013 at 10:58:57PM +0100, Marc Kleine-Budde wrote:
> On 12/21/2013 10:54 PM, kbuild test robot wrote:
> > tree:   git://gitorious.org/linux-can/linux-can-next for-davem
> > head:   5dd64fac3ff28aab5e92548a066c175e00cc9da4
> > commit: 5dd64fac3ff28aab5e92548a066c175e00cc9da4 [3/3] can: ti_hecc: Use the OMAP2PLUS dependency for omap2plus devices
> > config: make ARCH=um allyesconfig
> > 
> > All warnings:
> > 
> >    drivers/net/can/ti_hecc.c: In function 'ti_hecc_probe':
> >    drivers/net/can/ti_hecc.c:909:2: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
> >      addr = ioremap(mem->start, resource_size(mem));
> >      ^
> >>> drivers/net/can/ti_hecc.c:909:7: warning: assignment makes pointer from integer without a cast [enabled by default]
> >      addr = ioremap(mem->start, resource_size(mem));
> >           ^
> >    drivers/net/can/ti_hecc.c:974:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
> >      iounmap(addr);
> >      ^
> >    cc1: some warnings being treated as errors
> 
> Should we go back to "depends on ARM"?
> 

Well, it seems user-mode linux has no ioremap? So, maybe we'll have to
live with "depends on ARM" unless anyone has a better idea.
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com

  reply	other threads:[~2013-12-21 22:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52b60e29.e6MbNbPY4sH1N+Ql%fengguang.wu@intel.com>
2013-12-21 21:58 ` [can:for-davem 3/3] drivers/net/can/ti_hecc.c:909:7: warning: assignment makes pointer from integer without a cast Marc Kleine-Budde
2013-12-21 22:57   ` Ezequiel Garcia [this message]
2013-12-21 23:04     ` Marc Kleine-Budde
2013-12-21 23:21       ` Ezequiel Garcia
2013-12-22 13:35         ` Sergei Shtylyov

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=20131221225722.GA12243@localhost \
    --to=ezequiel.garcia@free-electrons.com \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=sergei.shtylyov@cogentembedded.com \
    /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).