linux-um archives
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] drivers/net/ethernet/marvell/mvmdio.c:191:3: error: implicit declaration of function 'iounmap'
Date: Wed, 27 Mar 2013 21:04:06 +0800	[thread overview]
Message-ID: <20130327130406.GB20519@localhost> (raw)
In-Reply-To: <5152db35.FfTcFL4aC1dSAQ8P%fengguang.wu@intel.com>


Hi Thomas,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head:   de55eb1d60d2ed0f1ba5e13226d91b3bfbe1c108
commit: fc8f5aded1cf9f5505c55694b36174621c7ac88c net: mvmdio: new Marvell MDIO driver
date:   4 months ago
config: make ARCH=um allyesconfig

All error/warnings:

   drivers/net/ethernet/marvell/mvmdio.c: In function 'orion_mdio_probe':
>> drivers/net/ethernet/marvell/mvmdio.c:191:3: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

vim +/iounmap +191 drivers/net/ethernet/marvell/mvmdio.c

fc8f5ade Thomas Petazzoni 2012-11-12  185  
fc8f5ade Thomas Petazzoni 2012-11-12  186  	mutex_init(&dev->lock);
fc8f5ade Thomas Petazzoni 2012-11-12  187  
fc8f5ade Thomas Petazzoni 2012-11-12  188  	ret = of_mdiobus_register(bus, np);
fc8f5ade Thomas Petazzoni 2012-11-12  189  	if (ret < 0) {
fc8f5ade Thomas Petazzoni 2012-11-12  190  		dev_err(&pdev->dev, "Cannot register MDIO bus (%d)\n", ret);
fc8f5ade Thomas Petazzoni 2012-11-12 @191  		iounmap(dev->smireg);
fc8f5ade Thomas Petazzoni 2012-11-12  192  		kfree(bus->irq);
fc8f5ade Thomas Petazzoni 2012-11-12  193  		mdiobus_free(bus);
fc8f5ade Thomas Petazzoni 2012-11-12  194  		return ret;

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


           reply	other threads:[~2013-03-27 13:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <5152db35.FfTcFL4aC1dSAQ8P%fengguang.wu@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=20130327130406.GB20519@localhost \
    --to=fengguang.wu@intel.com \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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