aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2008-07-04 09:59:28 -0700
committerLinus Torvalds <[email protected]>2008-07-04 10:40:04 -0700
commit7ca796f492a11f9408e661c8f22cd8c4f486b8e5 (patch)
tree4b4e7fd0017a227c98b72a04c28a66ed5720c3fe /scripts
parent69d44a1835ec8163a82c4ee57367f87ae0f85c2e (diff)
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 <[email protected]> Tested-by: Vipul Gandhi <[email protected]> Cc: Alan Cox <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions