s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl()
Subsystems (3)
PATCH 1/1 s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl()
Remove any extra indentation to improve the code's readability.
Signed-off-by Thorsten Blum <[email protected]>
--- drivers/s390/crypto/vfio_ap_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/s390/crypto/vfio_ap_ops.c +2 -2
@@ -2199,8 +2199,8 @@ static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev, ret =vfio_ap_mdev_reset_queues (matrix_mdev);break ;case VFIO_DEVICE_GET_IRQ_INFO : - ret =vfio_ap_get_irq_info (arg); -break ; + ret =vfio_ap_get_irq_info (arg); +break ;case VFIO_DEVICE_SET_IRQS : ret =vfio_ap_set_irqs (matrix_mdev, arg);break ;
Signature · 1 line
2.48.0
Quoted 1 line · Thorsten Blum
Remove any extra indentation to improve the code's readability.
Ironically, I noticed this the other day and was going to fix it.
Reviewed-by Anthony Krowiak <[email protected]>
Quoted 21 lines
Signed-off-by Thorsten Blum <[email protected]>--- drivers/s390/crypto/vfio_ap_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/s390/crypto/vfio_ap_ops.c +2
-2@@ -2199,8 +2199,8 @@ static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev, ret =vfio_ap_mdev_reset_queues (matrix_mdev);break ;case VFIO_DEVICE_GET_IRQ_INFO : - ret =vfio_ap_get_irq_info (arg); -break ; + ret =vfio_ap_get_irq_info (arg); +break ;case VFIO_DEVICE_SET_IRQS : ret =vfio_ap_set_irqs (matrix_mdev, arg);break ;
Quoted 12 lines · Thorsten Blum
Remove any extra indentation to improve the code's readability.
Signed-off-by Thorsten Blum <[email protected]>--- drivers/s390/crypto/vfio_ap_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/s390/crypto/vfio_ap_ops.c +0
-0
drivers/s390/crypto/vfio_ap_ops.c static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev, · line 2206
Quoted 10 lines
drivers/s390/crypto/vfio_ap_ops.c +2
-2@@ -2199,8 +2199,8 @@ static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev, ret =vfio_ap_mdev_reset_queues (matrix_mdev);break ;case VFIO_DEVICE_GET_IRQ_INFO : - ret =vfio_ap_get_irq_info (arg); -break ; + ret =vfio_ap_get_irq_info (arg); +break ;case VFIO_DEVICE_SET_IRQS : ret =vfio_ap_set_irqs (matrix_mdev, arg);break ;
Applied, thanks!