]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: ipack/bridges/tpci200: fix kernel oops when uninstalling a device
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 May 2012 08:03:05 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:20:30 +0000 (14:20 +0900)
commitd101b20f7190dc592cb53d68f50a599ada39facc
treeaae44c0392235ee427d3a29d833d881ec9dc06f1
parent116cdb32a430acea3537545e548591ceeffd6a97
Staging: ipack/bridges/tpci200: fix kernel oops when uninstalling a device

When uninstalling a device, the call to the ipack_bus_ops remove() frees
resources in the ipack device driver but without unregistering the device.

It generates a kernel oops when somebody wants to unregister the device.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c