public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl()
@ 2025-01-16 13:11 Thorsten Blum
  2025-01-16 15:41 ` Anthony Krowiak
  2025-01-29 15:53 ` Alexander Gordeev
  0 siblings, 2 replies; 3+ messages in thread
From: Thorsten Blum @ 2025-01-16 13:11 UTC (permalink / raw)
  To: Tony Krowiak, Halil Pasic, Jason Herne, Harald Freudenberger,
	Holger Dengler, Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger, Sven Schnelle
  Cc: Thorsten Blum, linux-s390, linux-kernel

Remove any extra indentation to improve the code's readability.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 drivers/s390/crypto/vfio_ap_ops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c
index a52c2690933f..155e19aef5df 100644
--- a/drivers/s390/crypto/vfio_ap_ops.c
+++ b/drivers/s390/crypto/vfio_ap_ops.c
@@ -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;
-- 
2.48.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl()
  2025-01-16 13:11 [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl() Thorsten Blum
@ 2025-01-16 15:41 ` Anthony Krowiak
  2025-01-29 15:53 ` Alexander Gordeev
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Krowiak @ 2025-01-16 15:41 UTC (permalink / raw)
  To: Thorsten Blum, Halil Pasic, Jason Herne, Harald Freudenberger,
	Holger Dengler, Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger, Sven Schnelle
  Cc: linux-s390, linux-kernel




On 1/16/25 8:11 AM, Thorsten Blum wrote:
> 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 <akrowiak@linux.ibm.com>

>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
>   drivers/s390/crypto/vfio_ap_ops.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c
> index a52c2690933f..155e19aef5df 100644
> --- a/drivers/s390/crypto/vfio_ap_ops.c
> +++ b/drivers/s390/crypto/vfio_ap_ops.c
> @@ -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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl()
  2025-01-16 13:11 [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl() Thorsten Blum
  2025-01-16 15:41 ` Anthony Krowiak
@ 2025-01-29 15:53 ` Alexander Gordeev
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Gordeev @ 2025-01-29 15:53 UTC (permalink / raw)
  To: Thorsten Blum
  Cc: Tony Krowiak, Halil Pasic, Jason Herne, Harald Freudenberger,
	Holger Dengler, Heiko Carstens, Vasily Gorbik,
	Christian Borntraeger, Sven Schnelle, linux-s390, linux-kernel

On Thu, Jan 16, 2025 at 02:11:47PM +0100, Thorsten Blum wrote:
> Remove any extra indentation to improve the code's readability.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
>  drivers/s390/crypto/vfio_ap_ops.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/s390/crypto/vfio_ap_ops.c b/drivers/s390/crypto/vfio_ap_ops.c
> index a52c2690933f..155e19aef5df 100644
> --- a/drivers/s390/crypto/vfio_ap_ops.c
> +++ b/drivers/s390/crypto/vfio_ap_ops.c
> @@ -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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-29 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16 13:11 [PATCH] s390/vfio-ap: Fix indentation in vfio_ap_mdev_ioctl() Thorsten Blum
2025-01-16 15:41 ` Anthony Krowiak
2025-01-29 15:53 ` Alexander Gordeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox