staging:drivers:staging:clocking-wizard:clk-xlnx-clock-wizard.c: Added a line after declaration
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
Signed-off-by Anjana Sasindran <[email protected]>
--- 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
@@ -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
Quoted 3 lines · Anjana Sasindran
This patch fix the checkpatch.pl warning
WARNING:Missing a blank line after declaration
There are two such warnings. If we gonna fix them, please fix them all.
Quoted 2 lines
Signed-off-by Anjana Sasindran <[email protected]>
Acked-by Soren Brinkmann <[email protected]>
Thanks,
Sören
Greg KH
maintainerQuoted 23 lines · Anjana Sasindran
This patch fix the checkpatch.pl warning
WARNING:Missing a blank line after declaration
Signed-off-by Anjana Sasindran <[email protected]>--- 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@@ -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