summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2023-03-30 17:30:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-30 17:42:17 +0300
commitf6caea4855553a8b99ba3ec23ecdb5ed8262f26c (patch)
treee7af32cebf6d624a250fbf8423a6f5b39c7266d9 /tools/perf/scripts/python/task-analyzer.py
parent8e77d3d59d7b5da13deda1d832c51b8bbdbe2037 (diff)
downloadlinux-f6caea4855553a8b99ba3ec23ecdb5ed8262f26c.tar.xz
xhci: Free the command allocated for setting LPM if we return early
The command allocated to set exit latency LPM values need to be freed in case the command is never queued. This would be the case if there is no change in exit latency values, or device is missing. Reported-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr> Link: https://lore.kernel.org/linux-usb/24263902-c9b3-ce29-237b-1c3d6918f4fe@alu.unizg.hr Tested-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr> Fixes: 5c2a380a5aa8 ("xhci: Allocate separate command structures for each LPM command") Cc: <Stable@vger.kernel.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20230330143056.1390020-4-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions