diff options
| author | Dan Carpenter <[email protected]> | 2023-06-06 11:26:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-06 14:46:35 +0200 |
| commit | 52861a3be8d6eae5c90963b747c4276ba6059c6b (patch) | |
| tree | e209353fcde20bcf735e3bc7338988c87c4ce2d5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | b6c7ff2693ddc24cdad3b032d969303f7b2ae3da (diff) | |
serial: core: don't kfree device managed data
The put_device() function will call serial_base_ctrl_release() or
serial_base_port_release() so these kfrees() are a double free bug.
Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Tony Lindgren <[email protected]>
Message-ID: <ZH7tsTmWY5b/4m+6@moroto>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions