From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: drivers/net/ethernet/3com/3c59x.c:1026:2: error: implicit declaration of function 'pci_iomap'
Date: Tue, 02 Oct 2012 17:19:20 +0000 [thread overview]
Message-ID: <20121002171920.GB5431@localhost> (raw)
Hi James,
FYI, kernel build failed on
commit: 97a29d59fc222b36bac3ee3a8ae994f65bf7ffdf [PARISC] fix compile break caused by iomap: make IOPORT/PCI mapping functions conditional
config: mips-allmodconfig
All error/warnings:
drivers/net/ethernet/3com/3c59x.c: In function 'vortex_init_one':
drivers/net/ethernet/3com/3c59x.c:1026:2: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]
drivers/net/ethernet/3com/3c59x.c:1026:9: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/ethernet/3com/3c59x.c:1028:10: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/ethernet/3com/3c59x.c:1038:3: error: implicit declaration of function 'pci_iounmap' [-Werror=implicit-function-declaration]
drivers/net/ethernet/3com/3c59x.c: In function 'vortex_probe1':
drivers/net/ethernet/3com/3c59x.c:1329:18: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
vim +1026 drivers/net/ethernet/3com/3c59x.c
^1da177e drivers/net/3c59x.c (Linus Torvalds 2005-04-16 1014)
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1015) unit = vortex_cards_found;
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1016)
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1017) if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) {
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1018) /* Determine the default if the user didn't override us */
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1019) vci = &vortex_info_tbl[ent->driver_data];
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1020) pci_bar = vci->drv_flags & (IS_CYCLONE | IS_TORNADO) ? 1 : 0;
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1021) } else if (unit < MAX_UNITS && use_mmio[unit] >= 0)
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1022) pci_bar = use_mmio[unit] ? 1 : 0;
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1023) else
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1024) pci_bar = global_use_mmio ? 1 : 0;
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1025)
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 @1026) ioaddr = pci_iomap(pdev, pci_bar, 0);
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1027) if (!ioaddr) /* If mapping fails, fall-back to BAR 0... */
900fd17d drivers/net/3c59x.c (John W. Linville 2005-11-07 1028) ioaddr = pci_iomap(pdev, 0, 0);
8cd47ea1 drivers/net/3c59x.c (Kulikov Vasiliy 2010-07-21 1029) if (!ioaddr) {
8cd47ea1 drivers/net/3c59x.c (Kulikov Vasiliy 2010-07-21 1030) pci_disable_device(pdev);
8cd47ea1 drivers/net/3c59x.c (Kulikov Vasiliy 2010-07-21 1031) rc = -ENOMEM;
8cd47ea1 drivers/net/3c59x.c (Kulikov Vasiliy 2010-07-21 1032) goto out;
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
reply other threads:[~2012-10-02 17:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20121002171920.GB5431@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox