login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
15
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rolf Eike Beer
Subject:
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
Date: Thursday, November 15, 2007 - 4:57 am
Am Mittwoch, 14. November 2007 schrieb Alex Chiang:
quoted text
> * Matthew Wilcox <matthew@wil.cx>: > > On Wed, Nov 14, 2007 at 12:37:29PM -0700, Alex Chiang wrote: > > > Register one slot per slot, rather than one slot per function. > > > Change the name of the slot to fake%d instead of the pci address. > > > > > > +#define SLOT_NAME_SIZE KOBJ_NAME_LEN > > > > Defined, then never used ... how about s/KOBJ_NAME_LEN/8/, then use > > SLOT_NAME_SIZE throughout? > > Whoops, good catch. I had a braino there.
Just drop it and use sizeof(dslot->name) in snprintf(). Just be careful not= to=20 use slot->name there as it would always be sizeof(void*)! Eike
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/5, v2] Physical PCI slot objects
, Alex Chiang
, (Wed Nov 14, 12:36 pm)
[PATCH 1/5] Remove path attribute from sgi_hotplug
, Alex Chiang
, (Wed Nov 14, 12:37 pm)
[PATCH 2/5] Construct one fakephp slot per pci slot
, Alex Chiang
, (Wed Nov 14, 12:37 pm)
[PATCH 4/5] Add pci_slot_add_hotplug()
, Alex Chiang
, (Wed Nov 14, 12:38 pm)
[PATCH 5/5] ACPI PCI slot detection driver
, Alex Chiang
, (Wed Nov 14, 12:39 pm)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
, Matthew Wilcox
, (Wed Nov 14, 1:12 pm)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
, Alex Chiang
, (Wed Nov 14, 1:55 pm)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
, Alex Chiang
, (Wed Nov 14, 2:04 pm)
Re: [PATCH 0/5, v2] Physical PCI slot objects
, Gary Hade
, (Wed Nov 14, 5:39 pm)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
, Rolf Eike Beer
, (Thu Nov 15, 4:57 am)
Re: [PATCH 2/5] Construct one fakephp slot per pci slot
, Alex Chiang
, (Thu Nov 15, 10:40 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate