summaryrefslogtreecommitdiff
path: root/rust/helpers/usb.c
diff options
context:
space:
mode:
authorVineeth Vijayan <vneethv@linux.ibm.com>2025-10-01 15:38:17 +0200
committerHeiko Carstens <hca@linux.ibm.com>2025-10-04 18:40:42 +0200
commit9daa5a8795865f9a3c93d8d1066785b07ded6073 (patch)
tree872c729512ee5d63add2efb2c03cb41f0d75774c /rust/helpers/usb.c
parentb043a81ce3ee3aa1d4adc63eb77203a652cfc94e (diff)
s390/cio: Update purge function to unregister the unused subchannels
Starting with 'commit 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")', cio no longer unregisters subchannels when the attached device is invalid or unavailable. As an unintended side-effect, the cio_ignore purge function no longer removes subchannels for devices on the cio_ignore list if no CCW device is attached. This situation occurs when a CCW device is non-operational or unavailable To ensure the same outcome of the purge function as when the current cio_ignore list had been active during boot, update the purge function to remove I/O subchannels without working CCW devices if the associated device number is found on the cio_ignore list. Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers") Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'rust/helpers/usb.c')
0 files changed, 0 insertions, 0 deletions