linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)
@ 2019-10-18  7:09 Chandra Annamaneni
  2019-10-25  2:35 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Chandra Annamaneni @ 2019-10-18  7:09 UTC (permalink / raw)
  To: gregkh
  Cc: gneukum1, dan.carpenter, michael.scheiderer, fabian.krueger,
	chandra627, simon, devel, linux-kernel

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

Signed-off-by: Chandra Annamaneni <chandra627@gmail.com>
---
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(-)

diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c
index 5712a88c8788..929136cdc3e1 100644
--- a/drivers/staging/kpc2000/kpc2000_spi.c
+++ b/drivers/staging/kpc2000/kpc2000_spi.c
@@ -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;
 
-- 
2.20.1


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

* Re: [PATCH 2/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)
  2019-10-18  7:09 [PATCH 2/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace) Chandra Annamaneni
@ 2019-10-25  2:35 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-10-25  2:35 UTC (permalink / raw)
  To: Chandra Annamaneni
  Cc: gneukum1, dan.carpenter, michael.scheiderer, fabian.krueger,
	simon, devel, linux-kernel

On Fri, Oct 18, 2019 at 12:09:48AM -0700, Chandra Annamaneni wrote:
> Resolved: ERROR: else should follow close brace '}'
> 
> Signed-off-by: Chandra Annamaneni <chandra627@gmail.com>
> ---
> 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

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

end of thread, other threads:[~2019-10-25  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18  7:09 [PATCH 2/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace) Chandra Annamaneni
2019-10-25  2:35 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).