You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kay Sievers
8a577ffc75
driver: dont update dev_name via device_add path
...
notice one system /proc/iomem some entries missed the name for pci_devices
it turns that dev->dev.kobj name is changed after device_add.
for pci code: via acpi_pci_root_driver.ops.add (aka acpi_pci_root_add)
==> pci_acpi_scan_root is used to scan pci bus/device, and at the same
time we read the resource for pci_dev in the pci_read_bases, we have
res->name = pci_name(pci_dev); pci_name is calling dev_name.
later via acpi_pci_root_driver.ops.start (aka acpi_pci_root_start) ==>
pci_bus_add_device to add all pci_dev in kobj tree. pci_bus_add_device
will call device_add.
actually in device_add
/* first, register with generic layer. */
error = kobject_add(&dev->kobj, dev->kobj.parent, "%s", dev_name(dev));
if (error)
goto Error;
will get one new name for that kobj, old name is freed.
[Impact: fix corrupted names in /proc/iomem ]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years ago
..
lzo
…
reed_solomon
…
zlib_deflate
…
zlib_inflate
…
.gitignore
…
Kconfig
Merge branch 'tracing/core-v2' into tracing-for-linus
16 years ago
Kconfig.debug
Merge branch 'linus' into core/softlockup
16 years ago
Kconfig.kgdb
…
Makefile
Merge branch 'linus' into core/iommu
16 years ago
argv_split.c
…
audit.c
…
bcd.c
…
bitmap.c
…
bitrev.c
…
bug.c
…
bust_spinlocks.c
…
check_signature.c
…
cmdline.c
…
cpumask.c
cpumask: fix slab corruption caused by alloc_cpumask_var_node()
16 years ago
crc-ccitt.c
…
crc-itu-t.c
…
crc-t10dif.c
…
crc7.c
…
crc16.c
…
crc32.c
…
crc32defs.h
…
ctype.c
…
debug_locks.c
lockdep: warn about lockdep disabling after kernel taint
16 years ago
debugobjects.c
…
dec_and_lock.c
…
decompress.c
…
decompress_bunzip2.c
kmemtrace, kbuild: fix slab.h dependency problem in lib/decompress_bunzip2.c
16 years ago
decompress_inflate.c
kmemtrace, kbuild: fix slab.h dependency problem in lib/decompress_inflate.c
16 years ago
decompress_unlzma.c
kmemtrace, kbuild: fix slab.h dependency problem in lib/decompress_unlzma.c
16 years ago
devres.c
…
div64.c
…
dma-debug.c
dma-debug: fix printk formats (i386)
16 years ago
dump_stack.c
…
dynamic_debug.c
…
extable.c
…
fault-inject.c
…
find_last_bit.c
…
find_next_bit.c
…
gen_crc32table.c
…
genalloc.c
…
halfmd4.c
…
hexdump.c
…
hweight.c
…
idr.c
cgroup: CSS ID support
16 years ago
inflate.c
…
int_sqrt.c
…
iomap.c
…
iomap_copy.c
…
iommu-helper.c
…
ioremap.c
…
irq_regs.c
…
is_single_threaded.c
…
kasprintf.c
…
kernel_lock.c
…
klist.c
…
kobject.c
driver: dont update dev_name via device_add path
16 years ago
kobject_uevent.c
driver core: allow non-root users to listen to uevents
16 years ago
kref.c
…
libcrc32c.c
…
list_debug.c
…
lmb.c
…
locking-selftest-hardirq.h
…
locking-selftest-mutex.h
…
locking-selftest-rlock-hardirq.h
…
locking-selftest-rlock-softirq.h
…
locking-selftest-rlock.h
…
locking-selftest-rsem.h
…
locking-selftest-softirq.h
…
locking-selftest-spin-hardirq.h
…
locking-selftest-spin-softirq.h
…
locking-selftest-spin.h
…
locking-selftest-wlock-hardirq.h
…
locking-selftest-wlock-softirq.h
…
locking-selftest-wlock.h
…
locking-selftest-wsem.h
…
locking-selftest.c
…
nlattr.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
16 years ago
parser.c
…
percpu_counter.c
…
plist.c
…
prio_heap.c
…
prio_tree.c
…
proportions.c
…
radix-tree.c
…
random32.c
…
ratelimit.c
…
rbtree.c
lib/rbtree.c: optimize rb_erase()
16 years ago
reciprocal_div.c
…
rwsem-spinlock.c
…
rwsem.c
…
scatterlist.c
…
sha1.c
…
show_mem.c
…
smp_processor_id.c
…
sort.c
…
spinlock_debug.c
…
string.c
…
string_helpers.c
…
swiotlb.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
16 years ago
syscall.c
…
textsearch.c
…
ts_bm.c
…
ts_fsm.c
…
ts_kmp.c
…
vsprintf.c
printk: fix wrong format string iter for printk
16 years ago