Skip to contentSkip to conversation

staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)

PATCH In review Chandra Annamaneni 2 participants 2 messages Oct 18, 2019 – Oct 25, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)

Resolved: ERROR: else should follow close brace '}'

---
Previous versions of these patches were not split into different patches, did not have different patch numbers and did not have the keyword staging. The previous version of this patch had the wrong description and subject.

 drivers/staging/kpc2000/kpc2000_spi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/kpc2000/kpc2000_spi.c +1 -2
index 5712a88c8788..929136cdc3e1 100644
@@ -226,8 +226,7 @@ kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer)
 			kp_spi_write_reg(cs, KP_SPI_REG_TXDATA, val);
 			processed++;
 		}
-	}
-	else if (rx) {
+	} else if (rx) {
 		for (i = 0 ; i < c ; i++) {
 			char test = 0;
 
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 8 lines · Chandra Annamaneni

Resolved: ERROR: else should follow close brace '}'

---
Previous versions of these patches were not split into different patches, did not have different patch numbers and did not have the keyword staging. The previous version of this patch had the wrong description and subject.

Ok, but I only see 1 patch here.

Can you resend the whole series properly, with a "v2" showing what changed?

thanks,

greg k-h