mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
Before accessing the device data structure in hardware handlers, make sure it is a indeed a sdev device. Yinghai Lu <[email protected]> found the bug on Jul 16, 2008, and later tested/verified the following fix. Signed-off-by: Chandra Seetharaman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>