diff options
| author | 2012-05-25 10:03:03 +0200 | |
|---|---|---|
| committer | 2012-06-07 14:20:29 +0900 | |
| commit | 597d473f163a1672262b845ede8a65afdf1b27c6 (patch) | |
| tree | 2484486e4f0808d3ba2c7033f9ae9e840d922a90 /scripts/patch-kernel | |
| parent | Staging: ipack: delete the call to remove() in ipack_driver_register (diff) | |
Staging: ipack/devices/ipoctal: avoid kernel oops when uninstalling
When uninstalling a device, there is a loop of calls that produces, at the end,
two calls to __ipoctal_remove() function with the same ipack_device argument.
The first time works fine, but the second will fail in tty_unregister_driver()
To avoid this situation, the call to __ipoctal_remove() it is done only from the
ipack bus driver and not from the ipack device driver.
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
