diff options
| author | 2016-02-15 21:42:12 +0300 | |
|---|---|---|
| committer | 2016-03-07 16:11:14 -0800 | |
| commit | bf2a0be45ffc5ab706f9be71a2cdc3f4600cb444 (patch) | |
| tree | da44eec1dd68b40df496e3dd68bde081e834f518 /scripts | |
| parent | tty: audit: remove unused variable (diff) | |
tty: serial: 8250: Cleanup p->em485 in serial8250_unregister_port
Formally, currently there is no memory leak, but if
serial8250_ports[line] is reused with other 8250 driver, then em485
will be already activated and it will cause issues.
Fixes: e490c9144cfa ("tty: Add software emulated RS485 support for 8250")
Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
