summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp55xx-common.c
diff options
context:
space:
mode:
authorTony Krowiak <akrowiak@linux.ibm.com>2023-01-18 23:31:07 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-01-22 20:42:36 +0300
commit0daf9878a7990058e74025493820bce0f67654c4 (patch)
tree3feed0a39791af1096f8f916f7bf9c14ab1232a4 /drivers/leds/leds-lp55xx-common.c
parent62414d901c3afde307f293a3c7f46baa2ec8edec (diff)
downloadlinux-0daf9878a7990058e74025493820bce0f67654c4.tar.xz
s390/vfio_ap: check TAPQ response code when waiting for queue reset
The vfio_ap_mdev_reset_queue() function does not check the status response code returned form the PQAP(TAPQ) function when verifying the queue's status; consequently, there is no way of knowing whether verification failed because the wait time was exceeded, or because the PQAP(TAPQ) failed. This patch adds a function to check the status response code from the PQAP(TAPQ) instruction and logs an appropriate message if it fails. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Link: https://lore.kernel.org/r/20230118203111.529766-3-akrowiak@linux.ibm.com Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.c')
0 files changed, 0 insertions, 0 deletions