commit | dfc7b837c7f9f01f76511aa3eeea35232903e58f | [log] [tgz] |
---|---|---|
author | Matwey V. Kornilov <matwey@sai.msu.ru> | Tue May 21 13:57:37 2013 +0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 21 10:26:05 2013 -0700 |
tree | b68e1bd4ebeb5e5d20b2f92b53e9beb0d51a3d76 | |
parent | 9d83e1807e6462ac5c4edb7eae96c69594e8c8ef [diff] |
tty: mxser: fix usage of opmode_ioaddr mxser_port->opmode_ioaddr is initialized only for MOXA_MUST_MU860_HWID chips, but no precautions have been undertaken to prevent reading and writing to undefined port number. Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>