From 62d7ecaf56bacf0c4248d640ac11cb632b01361b Mon Sep 17 00:00:00 2001 From: Philippe Dixon Date: Wed, 19 May 2021 12:39:38 -0700 Subject: [PATCH] staging: greybus: spi: add blank line after variable declaration This patch fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Reviewed-by: Alex Elder Acked-by: Viresh Kumar Signed-off-by: Philippe Dixon Link: https://lore.kernel.org/r/20210519193938.GA7131@ubuntu Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/spilib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/greybus/spilib.c b/drivers/staging/greybus/spilib.c index 30655153df6ac..ad0700a0bb81b 100644 --- a/drivers/staging/greybus/spilib.c +++ b/drivers/staging/greybus/spilib.c @@ -246,6 +246,7 @@ static struct gb_operation *gb_spi_operation_create(struct gb_spilib *spi, xfer = spi->first_xfer; while (msg->state != GB_SPI_STATE_OP_DONE) { int xfer_delay; + if (xfer == spi->last_xfer) xfer_len = spi->last_xfer_size; else -- 2.30.2