Skip to content

driver core: fix device_add error path

Greg Kroah-Hartman linux-ide lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest46 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/46driver core: fix device_add error pathdrivers/base/core.c+0 -90 replies
2/46driver core: fix namespace issue with devices assigned to classesdrivers/base/class.c drivers/base/core.c include/linux/device.h +3 more+89 -280 replies
3/46dev_printk and new-style class devicesdrivers/base/core.c+2 -10 replies
4/46Driver core: udev triggered device-driver bindingdrivers/base/bus.c include/linux/device.h+97 -210 replies
5/46driver core: Use attribute groups in struct device_typedrivers/base/core.c include/linux/device.h+70 -470 replies
6/46Driver core: add name to device_typedrivers/base/core.c include/linux/device.h+15 -00 replies
7/46kobject: kobject_shadow_add cleanuplib/kobject.c+2 -20 replies
8/46driver core: per-subsystem multithreaded probingdrivers/base/dd.c drivers/pci/pci-driver.c include/linux/device.h +1 more+33 -400 replies
9/46powerpc: make it compile for multithread changearch/powerpc/kernel/of_platform.c+0 -30 replies
10/46driver core: don't fail attaching the device if it cannot be bounddrivers/base/base.h drivers/base/bus.c drivers/base/core.c +1 more+11 -130 replies
11/46Driver core: remove unneeded completion from driver release pathdrivers/base/bus.c drivers/base/driver.c include/linux/device.h+13 -230 replies
12/46kref: fix CPU ordering with respect to krefslib/kref.c+2 -00 replies
13/46Driver core: notify userspace of network device renameslib/kobject.c net/core/net-sysfs.c+41 -00 replies
14/46Driver core: suppress uevents via filterdrivers/base/core.c+3 -20 replies
15/46Driver core: switch firmware_class to uevent_suppress.drivers/base/firmware_class.c+2 -80 replies
16/46uevent: use add_uevent_var() instead of open coding itdrivers/amba/bus.c drivers/ieee1394/nodemgr.c drivers/mmc/mmc_sysfs.c +3 more+79 -1110 replies
17/46Driver core: add suspend() and resume() to struct device_typedrivers/base/power/resume.c drivers/base/power/suspend.c include/linux/device.h+26 -10 replies
18/46Kobject: kobject_uevent.c: Collapse unnecessary loop nesting (top_kobj)lib/kobject_uevent.c+2 -40 replies
19/46kobject: kobject_add() reference leaklib/kobject.c+1 -00 replies
20/46Driver core: remove use of rwsemdrivers/base/power/shutdown.c+0 -20 replies
21/46SCSI: use the proper semaphore to protect the class listsdrivers/scsi/hosts.c+2 -20 replies
22/46USB: remove use of the bus rwsem, as it doesn't really protect anything.drivers/usb/core/devices.c drivers/usb/core/devio.c drivers/usb/core/driver.c +1 more+7 -220 replies
23/46PNP: stop using the subsystem rwsemdrivers/pnp/card.c+0 -60 replies
24/46Input: serio - do not touch bus's rwsemdrivers/input/serio/serio.c+15 -260 replies
25/46Input: gameport - do not touch bus's rwsemdrivers/input/gameport/gameport.c+13 -260 replies
26/46IDE: remove rwsem use from ide-proc coredrivers/ide/ide-proc.c+0 -40 replies
27/46IEEE1394: remove rwsem use from ieee1394 coredrivers/ieee1394/nodemgr.c+0 -80 replies
28/46PHY: remove rwsem use from phy coredrivers/net/phy/fixed.c drivers/net/phy/phy_device.c+1 -141 reply
29/46qeth: Remove usage of subsys.rwsemdrivers/s390/net/qeth_proc.c+0 -20 replies
30/46kobject core: remove rwsem from struct subsysteminclude/linux/kobject.h lib/kobject.c+1 -50 replies
31/46Driver core: make uevent-environment available in uevent-filedrivers/base/core.c+49 -10 replies
32/46Driver core: warn when userspace writes to the uevent file in a non-supported waydrivers/base/core.c+3 -00 replies
33/46kobject: Comment and warning fixes to kobject.clib/kobject.c+10 -30 replies
34/46the overdue removal of the mount/umount ueventsDocumentation/feature-removal-schedule.txt fs/super.c include/linux/kobject.h +1 more+3 -300 replies
35/46debugfs: Add debugfs_create_u64()fs/debugfs/file.c include/linux/debugfs.h+51 -00 replies
36/46driver core: bus_add_driver should return an error if no busdrivers/base/bus.c+1 -10 replies
37/46Driver core: use mutex instead of semaphore in DMA pool handlerdrivers/base/dmapool.c+7 -70 replies
38/46sysfs: bin.c printk fixfs/sysfs/bin.c+1 -10 replies
39/46s390: cio: Delay uevents for subchannelsdrivers/s390/cio/device.c+6 -00 replies
40/46device_schedule_callback() needs a module referencedrivers/base/core.c fs/sysfs/file.c include/linux/device.h +1 more+29 -130 replies
41/46security: prevent permission checking of file removal via sysfs_remove_group()fs/namei.c fs/sysfs/group.c include/linux/namei.h+57 -220 replies
42/46define platform wakeup hook, use in pci_enable_wake()drivers/base/power/main.c drivers/pci/pci.c include/linux/pm.h+63 -170 replies
43/46s2ram: add arch irq disable/enable hooksinclude/linux/pm.h kernel/power/main.c+33 -30 replies
44/46mod_sysfs_setup() doesn't return errno when kobject_add_dir() failure occurskernel/module.c+3 -10 replies
45/46drivers/base/attribute_container.c: use mutex instead of binary semaphoredrivers/base/attribute_container.c+13 -130 replies
46/46dev_dbg: check dev_dbg() argumentsdrivers/usb/core/hub.c drivers/usb/host/ohci-hcd.c include/linux/device.h+6 -100 replies

Reviews trailers per patch

2 of 46 patches have a Reviewed-by or Acked-by.

PatchPavel MachekAndy Fleming
1/46
2/46
3/46
4/46
5/46
6/46
7/46
8/46
9/46
10/46
11/46
12/46
13/46
14/46
15/46
16/46
17/46
18/46
19/46
20/46
21/46
22/46
23/46
24/46
25/46
26/46
27/46
28/46A-b
29/46
30/46
31/46
32/46
33/46
34/46
35/46
36/46
37/46
38/46
39/46
40/46
41/46
42/46
43/46A-b
44/46
45/46
46/46

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread