summaryrefslogtreecommitdiffstats
path: root/drivers/md/faulty.c
diff options
context:
space:
mode:
authorAlan Cox2009-05-28 15:01:35 +0200
committerLinus Torvalds2009-05-29 17:42:38 +0200
commitb8e7e40abeac49644fec4a4f52ffe74c7b05eca0 (patch)
tree56a73537ec1111098f785ef26e4aa7a2e6bdd1f2 /drivers/md/faulty.c
parentedac: AMD8111 & AMD8131 Kconfig fixup (diff)
downloadkernel-qcow2-linux-b8e7e40abeac49644fec4a4f52ffe74c7b05eca0.tar.gz
kernel-qcow2-linux-b8e7e40abeac49644fec4a4f52ffe74c7b05eca0.tar.xz
kernel-qcow2-linux-b8e7e40abeac49644fec4a4f52ffe74c7b05eca0.zip
8250: Fix oops from setserial
If you setserial a port which has never been initialised we change the type but don't update the I/O method pointers. The same problem is true if you change the io type of a port - but nobody ever does that so nobody noticed! Remember the old type and when attaching if the type has changed reload the port accessor pointers. We can't do it blindly as some 8250 drivers load custom accessors and we must not stomp those. Tested-by: Victor Seryodkin <vvscore@gmail.com> Closes-bug: #13367 Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/faulty.c')
0 files changed, 0 insertions, 0 deletions