All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [yinghai:for-pci-next 102/103] drivers/acpi/pci_root.c:626:14: warning: unused variable 'handle'
Date: Tue, 02 Oct 2012 07:56:23 +0000	[thread overview]
Message-ID: <20121002075623.GE24180@localhost> (raw)

Hi Yinghai,

FYI, there are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-next
head:   6689ac2f7e4750ad64e885cbc5d6aad3620579fe
commit: 4c042add99193c3fea6f9878af3a8839137e7064 [102/103] PCI, ACPI: using acpi/pci bind path for pci_host_bridge
config: i386-alldefconfig

All warnings:

drivers/acpi/pci_root.c: In function 'acpi_pci_root_remove':
drivers/acpi/pci_root.c:626:14: warning: unused variable 'handle' [-Wunused-variable]
drivers/acpi/pci_root.c:625:14: warning: unused variable 'status' [-Wunused-variable]

vim +626 drivers/acpi/pci_root.c

4be44fcd (Len Brown      2005-08-05  623) static int acpi_pci_root_remove(struct acpi_device *device, int type)
^1da177e (Linus Torvalds 2005-04-16  624) {
d8888698 (Yinghai Lu     2012-09-27  625) 	acpi_status status;
d8888698 (Yinghai Lu     2012-09-27 @626) 	acpi_handle handle;
caf420c6 (Bjorn Helgaas  2009-06-18  627) 	struct acpi_pci_root *root = acpi_driver_data(device);
c8e9afb1 (Jiang Liu      2012-09-18  628) 	struct acpi_pci_driver *driver;
c8e9afb1 (Jiang Liu      2012-09-18  629) 
c553d376 (Yinghai Lu     2012-09-27  630) 	pci_stop_root_bus(root->bus);
c553d376 (Yinghai Lu     2012-09-27  631) 
d0020f65 (Taku Izumi     2012-09-18  632) 	mutex_lock(&acpi_pci_root_lock);
e8ca311c (Yinghai Lu     2012-09-27  633) 	list_for_each_entry_reverse(driver, &acpi_pci_drivers, node)
c8e9afb1 (Jiang Liu      2012-09-18  634) 		if (driver->remove)

The code at line 626 was first introduced by commit:
d888869 PCI, ACPI: delete root bus prt during hot remove path

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

                 reply	other threads:[~2012-10-02  7:56 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=20121002075623.GE24180@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 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.