diff options
| author | Dmitry Torokhov <dtor_core@ameritech.net> | 2004-07-14 02:09:44 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-07-14 02:09:44 -0700 |
| commit | b6c1cfc66e1baff2bd698296dfe25d7edf21c30b (patch) | |
| tree | 546d239c59b5606f0f229deddda244c508b69f01 /security | |
| parent | 2e4d27c4f4e427c4d08fa458f6b6f66b5afd7797 (diff) | |
[PATCH] Driver core: Fix OOPS in device_platform_unregister
Driver core: platform_device_unregister should release resources first
and only then call device_unregister, otherwise if there
are no more references to the device it will be freed and
the fucntion will try to access freed memory.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
