X-Git-Url: https://git.codelabs.ch/?p=muen%2Flinux.git;a=blobdiff_plain;f=kernel%2Fmodule.c;h=1d958c6d5c24dbae47e55508c19ac4ed60bbd55e;hp=df1c4a9e7abb4160f350b063994c8bdf14429f03;hb=2074006dace5d289d90f2bd31ae1e4bc94965f55;hpb=69d71879d2cf67a381055f698a1d7def00dc4ed7 diff --git a/kernel/module.c b/kernel/module.c index df1c4a9e7abb..1d958c6d5c24 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1202,10 +1202,7 @@ static ssize_t store_uevent(struct module_attribute *mattr, struct module_kobject *mk, const char *buffer, size_t count) { - enum kobject_action action; - - if (kobject_action_type(buffer, count, &action) == 0) - kobject_uevent(&mk->kobj, action); + kobject_synth_uevent(&mk->kobj, buffer, count); return count; }