Driver core: warn when userspace writes to the uevent file in a non-supported way
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Apr 2007 23:40:38 +0000 (01:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:31 +0000 (10:57 -0700)
commit22af74f3b221f1436a37554501431e51c06ee77e
tree11b0a9e75f2e7f80cf4a2617d74a0d6caaa023d5
parent16574dccd8f62dc1b585325f8a6a0aab10047ed8
Driver core: warn when userspace writes to the uevent file in a non-supported way

In the future we will allow the uevent type to be written to the uevent
file to trigger the different types of uevents.  But for now, as we only
support the ADD event, warn if userspace tries to write anything else to
this file.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c