From: David Miller <davem@davemloft.net>
To: gang.chen.5i5j@gmail.com
Cc: samuel@sortiz.org, richard@nod.at, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/net/irda/Kconfig: Let SH_IRDA depend on HAS_IOMEM
Date: Fri, 03 Oct 2014 15:52:49 -0700 (PDT) [thread overview]
Message-ID: <20141003.155249.1949814662829849172.davem@davemloft.net> (raw)
In-Reply-To: <542D6218.3040609@gmail.com>
From: Chen Gang <gang.chen.5i5j@gmail.com>
Date: Thu, 02 Oct 2014 22:32:56 +0800
> SH_IRDA needs HAS_IOMEM, so depend on it. The related error(with
> allmodconfig under um):
>
> CC [M] drivers/net/irda/sh_irda.o
> drivers/net/irda/sh_irda.c: In function ‘sh_irda_probe’:
> drivers/net/irda/sh_irda.c:776:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration]
> self->membase = ioremap_nocache(res->start, resource_size(res));
> ^
> drivers/net/irda/sh_irda.c:776:16: warning: assignment makes pointer from integer without a cast [enabled by default]
> self->membase = ioremap_nocache(res->start, resource_size(res));
> ^
> drivers/net/irda/sh_irda.c:821:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
> iounmap(self->membase);
> ^
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Applied.
prev parent reply other threads:[~2014-10-03 22:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 14:32 [PATCH] drivers/net/irda/Kconfig: Let SH_IRDA depend on HAS_IOMEM Chen Gang
2014-10-03 22:52 ` David Miller [this message]
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=20141003.155249.1949814662829849172.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gang.chen.5i5j@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=richard@nod.at \
--cc=samuel@sortiz.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).