https://github.com/torvalds/linux
Revision cc74d96f47b0d916840f92092595e3be9731e047 authored by Greg Kroah-Hartman on 13 March 2008, 04:48:03 UTC, committed by Greg Kroah-Hartman on 13 March 2008, 17:21:09 UTC
PCI busses can be registered multiple times, so we need to detect if we
have registered our bus structure in sysfs already.  If so, don't do it
again.

Thanks to Guennadi Liakhovetski <g.liakhovetski@gmx.de> for reporting
the problem, and to Linus for poking me to get me to believe that it was
a real problem.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 93d7446
History
Tip revision: cc74d96f47b0d916840f92092595e3be9731e047 authored by Greg Kroah-Hartman on 13 March 2008, 04:48:03 UTC
PCI: fix issue with busses registering multiple times in sysfs
Tip revision: cc74d96
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 644 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.4 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 94.5 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top