diff options
| author | Jiri Slaby <[email protected]> | 2022-05-03 08:31:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-05 22:39:19 +0200 |
| commit | fe36fa18ca77ca3ca9f90aab6cf39031416e432b (patch) | |
| tree | e9eb2d48ee5e8bb40c138053bc3b46d06e615a7d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 28dc563339b181461494918d5d155e3ebc9a87ec (diff) | |
serial: pic32: free up irq names correctly
struct pic32_sport contains built-up names for irqs. These are freed
only in error path of pic32_uart_startup(). And even there, the freeing
happens before free_irq().
So fix this by:
* moving frees after free_irq(), and
* add frees to pic32_uart_shutdown() -- the opposite of
pic32_uart_startup().
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions