summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb_debug.c
diff options
context:
space:
mode:
authorTorsten Fleischer <to-fleischer@t-online.de>2014-10-26 19:33:13 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-27 10:01:05 +0800
commit9680b60ed79edaf52f84b65cbb20859bbb26cb68 (patch)
tree9bc3753ae799c0f3e237e5794adb78b892496b87 /drivers/usb/serial/usb_debug.c
parent8071e6f8b4d138257cba84bf39e398e344c35905 (diff)
downloadblackbird-obmc-linux-9680b60ed79edaf52f84b65cbb20859bbb26cb68.tar.gz
blackbird-obmc-linux-9680b60ed79edaf52f84b65cbb20859bbb26cb68.zip
usb: chipidea: Fix oops when removing the ci_hdrc module
The call of 'kfree(ci->hw_bank.regmap)' in ci_hdrc_remove() sometimes causes a kernel oops when removing the ci_hdrc module. Since there is no separate memory allocated for the ci->hw_bank.regmap array, there is no need to free it. Cc: v3.14+ <stable@@vger.kernel.org> Signed-off-by: Torsten Fleischer <to-fleischer@t-online.de> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/usb_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud