All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Joachim Eastwood <manabian@gmail.com>
Cc: netdev@vger.kernel.org
Subject: [net-next:master 37/84] drivers/net/ethernet/cadence/macb.h:563:2: error: implicit declaration of function '__raw_readl'
Date: Sat, 27 Oct 2012 10:44:17 +0800	[thread overview]
Message-ID: <20121027024417.GA10393@localhost> (raw)
In-Reply-To: <508b2da7.GOPJdv0OiXMlnVxU%yuanhan.liu@linux.intel.com>

Hi Joachim,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   f019948dbb388eacbc0fb61db1d30e686224df77
commit: 84222e20c1823b5fd3216be46689693bd913bd0b [37/84] net/cadence: get rid of HAVE_NET_MACB
config: s390-allmodconfig # make ARCH=s390 allmodconfig

All error/warnings:

In file included from drivers/net/ethernet/cadence/macb.c:30:0:
drivers/net/ethernet/cadence/macb.h: In function 'macb_is_gem':
drivers/net/ethernet/cadence/macb.h:563:2: error: implicit declaration of function '__raw_readl' [-Werror=implicit-function-declaration]
drivers/net/ethernet/cadence/macb.c: In function '__macb_set_hwaddr':
drivers/net/ethernet/cadence/macb.c:65:2: error: implicit declaration of function '__raw_writel' [-Werror=implicit-function-declaration]
drivers/net/ethernet/cadence/macb.c: In function 'macb_probe':
drivers/net/ethernet/cadence/macb.c:1350:2: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
drivers/net/ethernet/cadence/macb.c:1350:11: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/ethernet/cadence/macb.c:1436:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +563 drivers/net/ethernet/cadence/macb.h

f75ba50b drivers/net/ethernet/cadence/macb.h Jamie Iles         2011-11-08  561  static inline bool macb_is_gem(struct macb *bp)
f75ba50b drivers/net/ethernet/cadence/macb.h Jamie Iles         2011-11-08  562  {
f75ba50b drivers/net/ethernet/cadence/macb.h Jamie Iles         2011-11-08 @563  	return MACB_BFEXT(IDNUM, macb_readl(bp, MID)) == 0x2;
f75ba50b drivers/net/ethernet/cadence/macb.h Jamie Iles         2011-11-08  564  }


---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

           reply	other threads:[~2012-10-27  2:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <508b2da7.GOPJdv0OiXMlnVxU%yuanhan.liu@linux.intel.com>]

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=20121027024417.GA10393@localhost \
    --to=fengguang.wu@intel.com \
    --cc=manabian@gmail.com \
    --cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.