aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMaximilain Schneider <max@schneidersoft.net>2016-02-23 01:17:28 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2016-02-26 08:36:33 +0100
commite9a2d81b1761093386a0bb8a4f51642ac785ef63 (patch)
treefc98a26a18092acc4d2086fe0116accd10aa85a5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnet: thunderx: Fix for Qset error due to CQ full (diff)
downloadlinux-dev-e9a2d81b1761093386a0bb8a4f51642ac785ef63.tar.xz
linux-dev-e9a2d81b1761093386a0bb8a4f51642ac785ef63.zip
can: gs_usb: fixed disconnect bug by removing erroneous use of kfree()
gs_destroy_candev() erroneously calls kfree() on a struct gs_can *, which is allocated through alloc_candev() and should instead be freed using free_candev() alone. The inappropriate use of kfree() causes the kernel to hang when gs_destroy_candev() is called. Only the struct gs_usb * which is allocated through kzalloc() should be freed using kfree() when the device is disconnected. Signed-off-by: Maximilian Schneider <max@schneidersoft.net> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions