public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused varia
Date: Wed, 26 Sep 2012 02:21:07 +0000	[thread overview]
Message-ID: <20120926022107.GA12055@localhost> (raw)

Hi Yinghai,

FYI, kernel build failed on

tree:    for-pci-kill-pci-root-buses
head:   5e4af90ab778188866399b772ac0c0002c1aa95a
commit: d77b2c8faf39dd5d0fc1e2fea1a367299ee1282b [67/69] PCI, powerpc: kill pci_root_buses in resources reservations
config: powerpc-chroma_defconfig

All error/warnings:

arch/powerpc/kernel/pci_64.c: In function 'sys_pciconfig_iobase':
arch/powerpc/kernel/pci_64.c:215:20: error: unused variable 'ln' [-Werror=unused-variable]
cc1: all warnings being treated as errors
--
arch/powerpc/kernel/pci-common.c: In function 'pcibios_resource_survey':
arch/powerpc/kernel/pci-common.c:1407:4: error: passing argument 1 of 'pcibios_reserve_legacy_regions' from incompatible pointer type [-Werror]
arch/powerpc/kernel/pci-common.c:1334:20: note: expected 'struct pci_bus *' but argument is of type 'struct pci_host_bridge *'
cc1: all warnings being treated as errors

vim +215 arch/powerpc/kernel/pci_64.c
   209	#define IOBASE_ISA_MEM		4
   210	
   211	long sys_pciconfig_iobase(long which, unsigned long in_bus,
   212				  unsigned long in_devfn)
   213	{
   214		struct pci_controller* hose;
 > 215		struct list_head *ln;
   216		struct pci_bus *bus;
   217		struct device_node *hose_node;
   218		struct pci_host_bridge *host_bridge = NULL;

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

             reply	other threads:[~2012-09-26  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26  2:21 Fengguang Wu [this message]
2012-09-26  3:57 ` [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused v Yinghai Lu

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=20120926022107.GA12055@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