mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Check the validity of subchanel before reading other fields in
the schib.
Fixes: d3683c0552 ("s390/cio: add dev_busid sysfs entry for each subchannel")
CC: <[email protected]>
Reported-by: Cornelia Huck <[email protected]>
Signed-off-by: Vineeth Vijayan <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vasily Gorbik <[email protected]>