Skip to contentSkip to conversation

staging: pi433: fix last commit indentation

PATCH In review Victor Carvalho 2 participants 2 messages Dec 3, 2017 – Dec 6, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: pi433: fix last commit indentation

fix indentation in commit:

- 928150e1dbb8638f309493b7dc72d56c20896704 staging: pi433: fix coding style in function rf69_set_rx_cfg()

---
 drivers/staging/pi433/pi433_if.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +3 -2
index 97ab5fa27059..a9fd7fc209d6 100644
@@ -203,11 +203,12 @@ rf69_set_rx_cfg(struct pi433_device *dev, struct pi433_rx_cfg *rx_cfg)
 	/* packet config */
 	/* enable */
 	SET_CHECKED(rf69_set_sync_enable(dev->spi, rx_cfg->enable_sync));
-	if (rx_cfg->enable_sync == optionOn)
+	if (rx_cfg->enable_sync == optionOn) {
 		SET_CHECKED(rf69_set_fifo_fill_condition(dev->spi,
 							 afterSyncInterrupt));
-	else
+	} else {
 		SET_CHECKED(rf69_set_fifo_fill_condition(dev->spi, always));
+	}
 
 	if (rx_cfg->enable_length_byte == optionOn) {
 		ret = rf69_set_packet_format(dev->spi, packetLengthVar);
Signature · 1 line
2.14.3
maintainer
#1 lore raw
Quoted 3 lines · Victor Carvalho

fix indentation in commit:

- 928150e1dbb8638f309493b7dc72d56c20896704 staging: pi433: fix coding style in function rf69_set_rx_cfg()

There is no such commit in the kernel tree :(

Also, no need for [FIX] in the subject line. If yuo have a problem with a previous patch, just fix it up and resend the whole thing and properly version the patch.

Also, use scripts/get_maintainer.pl to know who to cc: and what mailing list to send the patches to, you missed a bunch of people here :(

thanks,

greg k-h