The patch titled Driver core: suppress uevents via filter has been removed from the -mm tree. Its filename was driver-core-suppress-uevents-via-filter.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Driver core: suppress uevents via filter From: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Suppress uevents for devices if uevent_suppress is set via dev_uevent_filter(). This makes the driver core suppress all device uevents, not just the add event in device_add(). Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx> Cc: Greg K-H <greg@xxxxxxxxx> Cc: Kay Sievers <kay.sievers@xxxxxxxx> Cc: Eric Rannaud <eric.rannaud@xxxxxxxxx> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/base/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN drivers/base/core.c~driver-core-suppress-uevents-via-filter drivers/base/core.c --- a/drivers/base/core.c~driver-core-suppress-uevents-via-filter +++ a/drivers/base/core.c @@ -120,6 +120,8 @@ static int dev_uevent_filter(struct kset if (ktype == &ktype_device) { struct device *dev = to_dev(kobj); + if (dev->uevent_suppress) + return 0; if (dev->bus) return 1; if (dev->class) @@ -675,8 +677,7 @@ int device_add(struct device *dev) goto PMError; if ((error = bus_add_device(dev))) goto BusError; - if (!dev->uevent_suppress) - kobject_uevent(&dev->kobj, KOBJ_ADD); + kobject_uevent(&dev->kobj, KOBJ_ADD); bus_attach_device(dev); if (parent) klist_add_tail(&dev->knode_parent, &parent->klist_children); _ Patches currently in -mm which might be from cornelia.huck@xxxxxxxxxx are s390-cio-delay-uevents-for-subchannels.patch uevent-use-add_uevent_var-instead-of-open-coding-it.patch device_schedule_callback-needs-a-module-reference-fix.patch git-s390.patch partitions-check-the-return-value-of-kobject_add-etc.patch kprobes-the-on-off-knob-thru-debugfs-updated-s390-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html