linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	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 22:58:57 +0100	[thread overview]
Message-ID: <52B60F21.5070502@pengutronix.de> (raw)
In-Reply-To: <52b60e29.e6MbNbPY4sH1N+Ql%fengguang.wu@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

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"?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

       reply	other threads:[~2013-12-21 21:59 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 ` Marc Kleine-Budde [this message]
2013-12-21 22:57   ` [can:for-davem 3/3] drivers/net/can/ti_hecc.c:909:7: warning: assignment makes pointer from integer without a cast Ezequiel Garcia
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=52B60F21.5070502@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=ezequiel.garcia@free-electrons.com \
    --cc=linux-can@vger.kernel.org \
    --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).