diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-08-08 16:48:41 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 21:51:22 +0300 |
| commit | 39be40ce066da4d5d59bf53f72b914018bc84029 (patch) | |
| tree | 6827fb23ae79bb29cc4b6966d072e02fe0b1961d /net/lapb/lapb_subr.c | |
| parent | 1c16ae65e2502da05310b2ec56b3a1fd3efe6f4d (diff) | |
| download | linux-39be40ce066da4d5d59bf53f72b914018bc84029.tar.xz | |
serial: 8250_uniphier: fix serial port index in private data
serial8250_register_8250_port() may allocate a different port index
than requested. The driver needs to remember the returned value of
serial8250_register_8250_port() for later use. Otherwise, the .remove
hook may unregister a different port.
Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
