summaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2006-06-26 01:48:36 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2006-06-26 01:48:36 -0400
commitf60d2b111cd55c335c2b70e50d66a612d2b10856 (patch)
tree95ec2063e270ad8f87ab07d507d4c20affacb2a5 /mm/nommu.c
parent8a3cf456adbde8317a15fc038cfe82c630512f2e (diff)
downloadlinux-f60d2b111cd55c335c2b70e50d66a612d2b10856.tar.gz
linux-f60d2b111cd55c335c2b70e50d66a612d2b10856.tar.bz2
linux-f60d2b111cd55c335c2b70e50d66a612d2b10856.zip
Input: reset name, phys and uniq when unregistering
Name, phys and uniq are quite often constant strings in moules implementing particular input device. If a module unregisters input device and then gets unloaded, the device could still be present in memory (pinned via sysfs), but aforementioned members would point to some random memory. Set them all to NULL when unregistering so sysfs handlers won't try dereferencing them. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions