diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-07-04 18:59:28 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-04 19:40:04 +0200 |
commit | 7ca796f492a11f9408e661c8f22cd8c4f486b8e5 (patch) | |
tree | 4b4e7fd0017a227c98b72a04c28a66ed5720c3fe /mm | |
parent | firmware: fix the request_firmware() dummy (diff) | |
download | linux-7ca796f492a11f9408e661c8f22cd8c4f486b8e5.tar.xz linux-7ca796f492a11f9408e661c8f22cd8c4f486b8e5.zip |
serial: fix serial_match_port() for dynamic major tty-device numbers
As reported by Vipul Gandhi, the current serial_match_port() doesn't work
for tty-devices using dynamic major number allocation. Fix it.
It oopses if you suspend a serial port with _dynamic_ major number. ATM,
I think, there's only the drivers/serial/jsm/jsm_driver.c driver, that
does it in-tree.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Vipul Gandhi <vcgandhi1@aol.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions