login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
25
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (Not for mainline!)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alex Chiang
Subject:
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (Not for mainline!)
Date: Monday, March 24, 2008 - 8:31 pm
* Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>:
quoted text
> Some trivial cleanups for drivers/pci/slot.c.
Thanks, merged. /ac
quoted text
> > Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> > > --- > drivers/pci/slot.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > > Index: linux-2.6.25-rc6/drivers/pci/slot.c > =================================================================== > --- linux-2.6.25-rc6.orig/drivers/pci/slot.c > +++ linux-2.6.25-rc6/drivers/pci/slot.c > @@ -132,19 +132,16 @@ EXPORT_SYMBOL_GPL(pci_destroy_slot); > > static int pci_slot_init(void) > { > - int result = 0; > struct kset *pci_bus_kset; > > pci_bus_kset = bus_get_kset(&pci_bus_type); > - > pci_slots_kset = kset_create_and_add("slots", NULL, > &pci_bus_kset->kobj); > if (!pci_slots_kset) { > - result = -ENOMEM; > - printk(KERN_ERR "PCI: Slot initialization failure (%d)\n", > - result); > + printk(KERN_ERR "PCI: Slot initialization failure\n"); > + return -ENOMEM; > } > - return result; > + return 0; > } > > subsys_initcall(pci_slot_init); > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Tue Mar 18, 2:05 pm)
[PATCH 1/3] Construct one fakephp slot per pci slot
, Alex Chiang
, (Tue Mar 18, 2:08 pm)
[PATCH 2/3] Introduce pci_slot
, Alex Chiang
, (Tue Mar 18, 2:09 pm)
[PATCH 3/3] ACPI PCI slot detection driver
, Alex Chiang
, (Tue Mar 18, 2:09 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Matthew Wilcox
, (Tue Mar 18, 5:55 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Tue Mar 18, 6:52 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Tue Mar 18, 7:24 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Tue Mar 18, 7:34 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Thu Mar 20, 9:07 pm)
[PATCH 1/16][BUG] Export kobject_rename for pci_hotplug_c ...
, Kenji Kaneshige
, (Thu Mar 20, 9:09 pm)
[PATCH 2/16] ACPI pci_slot: Fix dmi table for Fujitsu PRI ...
, Kenji Kaneshige
, (Thu Mar 20, 9:10 pm)
[PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation (Not ...
, Kenji Kaneshige
, (Thu Mar 20, 9:11 pm)
[PATCH 4/16][BUG] PCI slot: Add missing semaphore for slo ...
, Kenji Kaneshige
, (Thu Mar 20, 9:12 pm)
[PATCH 5/16] PCI slot: Use list_head for pci slot list (N ...
, Kenji Kaneshige
, (Thu Mar 20, 9:13 pm)
[PATCH 6/16][BUG] ACPI pci_slot: Fix slot removal path (N ...
, Kenji Kaneshige
, (Thu Mar 20, 9:14 pm)
[PATCH 7/16][BUG] PCI slot: Remove compiler warnings (Not ...
, Kenji Kaneshige
, (Thu Mar 20, 9:14 pm)
[PATCH 8/16][BUG] PCI slot: Fix invalid memory access (No ...
, Kenji Kaneshige
, (Thu Mar 20, 9:15 pm)
[PATCH 9/16] PCI slot: Remove unused slot member from pci ...
, Kenji Kaneshige
, (Thu Mar 20, 9:16 pm)
[PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not for ...
, Kenji Kaneshige
, (Thu Mar 20, 9:17 pm)
[PATCH 11/16] PCI slot: Remove useless release handler (No ...
, Kenji Kaneshige
, (Thu Mar 20, 9:18 pm)
[PATCH 12/16] PCI slot: Use .default_attrs for address fil ...
, Kenji Kaneshige
, (Thu Mar 20, 9:19 pm)
[PATCH 13/16] PCI slot: Fix return value of pci_create_slo ...
, Kenji Kaneshige
, (Thu Mar 20, 9:23 pm)
[PATCH 14/16] PCI slot: Change return value of pci_destroy ...
, Kenji Kaneshige
, (Thu Mar 20, 9:26 pm)
[PATCH 15/16] PCI slot: Trivial cleanups for slot.c (Not f ...
, Kenji Kaneshige
, (Thu Mar 20, 9:26 pm)
[PATCH 16/16][BUG] PCI hotplug core: add missing lock for ...
, Kenji Kaneshige
, (Thu Mar 20, 9:27 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Fri Mar 21, 8:53 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Alex Chiang
, (Fri Mar 21, 8:56 am)
Re: [PATCH 2/16] ACPI pci_slot: Fix dmi table for Fujitsu ...
, Alex Chiang
, (Fri Mar 21, 9:04 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Greg KH
, (Fri Mar 21, 9:15 am)
Re: [PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation ( ...
, Alex Chiang
, (Fri Mar 21, 9:17 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Alex Chiang
, (Fri Mar 21, 9:45 am)
Re: [PATCH 4/16][BUG] PCI slot: Add missing semaphore for ...
, Alex Chiang
, (Fri Mar 21, 9:57 am)
Re: [PATCH 5/16] PCI slot: Use list_head for pci slot lis ...
, Alex Chiang
, (Fri Mar 21, 11:40 am)
Re: [PATCH 9/16] PCI slot: Remove unused slot member from ...
, Matthew Wilcox
, (Fri Mar 21, 12:30 pm)
Re: [PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not ...
, Matthew Wilcox
, (Fri Mar 21, 12:30 pm)
Re: [PATCH 12/16] PCI slot: Use .default_attrs for address ...
, Matthew Wilcox
, (Fri Mar 21, 12:32 pm)
Re: [PATCH 14/16] PCI slot: Change return value of pci_des ...
, Matthew Wilcox
, (Fri Mar 21, 12:32 pm)
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (N ...
, Matthew Wilcox
, (Fri Mar 21, 12:33 pm)
Re: [PATCH 6/16][BUG] ACPI pci_slot: Fix slot removal pat ...
, Alex Chiang
, (Fri Mar 21, 12:42 pm)
Re: [PATCH 7/16][BUG] PCI slot: Remove compiler warnings ( ...
, Alex Chiang
, (Fri Mar 21, 1:01 pm)
Re: [PATCH 8/16][BUG] PCI slot: Fix invalid memory access ...
, Alex Chiang
, (Fri Mar 21, 1:01 pm)
Re: [PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not ...
, Alex Chiang
, (Fri Mar 21, 1:02 pm)
Re: [PATCH 9/16] PCI slot: Remove unused slot member from ...
, Alex Chiang
, (Mon Mar 24, 1:29 pm)
Re: [PATCH 11/16] PCI slot: Remove useless release handler ...
, Alex Chiang
, (Mon Mar 24, 8:08 pm)
Re: [PATCH 12/16] PCI slot: Use .default_attrs for address ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 13/16] PCI slot: Fix return value of pci_create ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 14/16] PCI slot: Change return value of pci_des ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (N ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 16/16][BUG] PCI hotplug core: add missing lock ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate