Skip to contentSkip to conversation

staging:drivers:staging:clocking-wizard:clk-xlnx-clock-wizard.c: Added a line after declaration

PATCH In review Anjana Sasindran 3 participants 3 messages Nov 29, 2014 – Dec 3, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging:drivers:staging:clocking-wizard:clk-xlnx-clock-wizard.c: Added a line after declaration

This patch fix the checkpatch.pl warning

WARNING:Missing a blank line after declaration

---
 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c +1 -0
index 7202d8e..5fa813d 100644
@@ -234,6 +234,7 @@ static int clk_wzrd_probe(struct platform_device *pdev)
 	/* register div per output */
 	for (i = WZRD_NUM_OUTPUTS - 1; i >= 0 ; i--) {
 		const char *clkout_name;
+		
 		if (of_property_read_string_index(np, "clock-output-names", i,
 						  &clkout_name)) {
 			dev_err(&pdev->dev,
Signature · 1 line
1.9.1
maintainer
#2 lore raw
In reply to Anjana Sasindran
Quoted 23 lines · Anjana Sasindran

This patch fix the checkpatch.pl warning

WARNING:Missing a blank line after declaration

---
 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c +1 -0
index 7202d8e..5fa813d 100644
@@ -234,6 +234,7 @@ static int clk_wzrd_probe(struct platform_device *pdev)
 	/* register div per output */
 	for (i = WZRD_NUM_OUTPUTS - 1; i >= 0 ; i--) {
 		const char *clkout_name;
+		
 		if (of_property_read_string_index(np, "clock-output-names", i,
 						  &clkout_name)) {
 			dev_err(&pdev->dev,
Signature · 1 line
1.9.1

ALWAYS run your patches through checkpatch.pl so you don't get angry emails from maintainers telling you that you added a warning with a patch you were trying to get applied to remove a warning, making this a pointless exercise :(

greg k-h