gpio: gpio-dln2: Added a Blank line after declaration
PATCH 1/1 gpio: gpio-dln2: Added a Blank line after declaration
Fix the coding style issue by adding a blank line after declaration
--- drivers/gpio/gpio-dln2.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-dln2.c +1 -0
@@ -396,6 +396,7 @@ static void dln2_gpio_event(struct platform_device *pdev, u16 echo, const void *data, int len) { int pin, irq; + const struct { __le16 count; __u8 type;
Signature · 1 line
1.7.9.5
Quoted 3 lines · Mohammad Jamal
Fix the coding style issue by adding a blank line after declaration
Signed-off-by Mohammad Jamal <[email protected]>
Patch applied.
Yours,
Linus Walleij
Quoted 8 lines · Linus Walleij
Quoted 3 lines · Mohammad Jamal
Fix the coding style issue by adding a blank line after declaration
Signed-off-by Mohammad Jamal <[email protected]>Patch applied.
This one looks bogus; it's adding a random newline within the declarations not after.
Johan
I think you are write ... checkpatch.pl was giving the error at the line so i added a blank line... i will send an updated patch..
Quoted 14 lines · Johan Hovold
Quoted 8 lines · Linus Walleij
Quoted 3 lines · Mohammad Jamal
Fix the coding style issue by adding a blank line after declaration
Signed-off-by Mohammad Jamal <[email protected]>Patch applied.
This one looks bogus; it's adding a random newline within the declarations not after.
Johan
[ Please do not top-post. ]
Quoted 2 lines · Jamal Mohammad
I think you are write ... checkpatch.pl was giving the error at the line so i added a blank line... i will send an updated patch..
You should not trust checkpatch.pl blindly, and not run it on in-kernel files either. Use it on your own patches as a way to find (possible) mistakes before submission.
Johan