linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix multiple blank lines coding style problem
@ 2017-05-25  9:22 Aliza Minkov
  2017-05-25 10:28 ` Tobin C. Harding
  0 siblings, 1 reply; 4+ messages in thread
From: Aliza Minkov @ 2017-05-25  9:22 UTC (permalink / raw)
  To: lidza.louina
  Cc: markh, gregkh, driverdev-devel, devel, linux-kernel, Aliza Minkov

Signed-off-by: Aliza Minkov <minkov.al@gmail.com>
---
 drivers/staging/dgnc/dgnc_driver.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index 253f38b..c1b6079 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -96,7 +96,6 @@ static int dgnc_do_remap(struct dgnc_board *brd)
 	return 0;
 }
 
-
 /* A board has been found, initialize  it. */
 static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id)
 {
@@ -287,7 +286,6 @@ static void dgnc_free_irq(struct dgnc_board *brd)
 		free_irq(brd->irq, brd);
 }
 
-
  /*
   * As each timer expires, it determines (a) whether the "transmit"
   * waiter needs to be woken up, and (b) whether the poller needs to
-- 
1.9.1

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

* Re: [PATCH] fix multiple blank lines coding style problem
  2017-05-25  9:22 [PATCH] fix multiple blank lines coding style problem Aliza Minkov
@ 2017-05-25 10:28 ` Tobin C. Harding
  0 siblings, 0 replies; 4+ messages in thread
From: Tobin C. Harding @ 2017-05-25 10:28 UTC (permalink / raw)
  To: Aliza Minkov; +Cc: lidza.louina, devel, gregkh, driverdev-devel, linux-kernel

On Thu, May 25, 2017 at 12:22:15PM +0300, Aliza Minkov wrote:
> Signed-off-by: Aliza Minkov <minkov.al@gmail.com>
> ---
>  drivers/staging/dgnc/dgnc_driver.c | 2 --
>  1 file changed, 2 deletions(-)

Hi Aliza,

Well done getting your patch together. I think you might get an
automated message from Greg's patch robot so at the risk of repeating
the message here goes.

You will need to add a commit log in order for your patch to have a
chance of being picked up. Your commit summary is good, you may like
to read Documentation/process/submitting-patches.rst (Section 2
Describe your changes). Apart from that the patch looks good to me.

Good luck,
Tobin.

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

* Re: [PATCH] fix multiple blank lines coding style problem
  2017-05-25 11:33 Aliza Minkov
@ 2017-05-25 11:37 ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-05-25 11:37 UTC (permalink / raw)
  To: Aliza Minkov; +Cc: lidza.louina, markh, driverdev-devel, devel, linux-kernel

On Thu, May 25, 2017 at 02:33:31PM +0300, Aliza Minkov wrote:
> According to the coding-style documentation, functions in source files
> should be separated with one blank line. Redundant blank lines were
> removed from this source file, in accordance with coding-style
> documentation.
> 
> Signed-off-by: Aliza Minkov <minkov.al@gmail.com>
> ---
>  drivers/staging/dgnc/dgnc_driver.c | 2 --
>  1 file changed, 2 deletions(-)

Getting closer, please look at your subject, and compare it to the
subjects that other patches for this driver/file have had in the past,
and fix it up that way.

Also, you need to now start versioning your patch, as you are submitting
the same one multiple times, SubmittingPatches will tell you how to
properly do that.

thanks,

greg k-h

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

* [PATCH] fix multiple blank lines coding style problem
@ 2017-05-25 11:33 Aliza Minkov
  2017-05-25 11:37 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Aliza Minkov @ 2017-05-25 11:33 UTC (permalink / raw)
  To: lidza.louina
  Cc: markh, gregkh, driverdev-devel, devel, linux-kernel, Aliza Minkov

According to the coding-style documentation, functions in source files
should be separated with one blank line. Redundant blank lines were
removed from this source file, in accordance with coding-style
documentation.

Signed-off-by: Aliza Minkov <minkov.al@gmail.com>
---
 drivers/staging/dgnc/dgnc_driver.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
index 253f38b..c1b6079 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -96,7 +96,6 @@ static int dgnc_do_remap(struct dgnc_board *brd)
 	return 0;
 }
 
-
 /* A board has been found, initialize  it. */
 static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id)
 {
@@ -287,7 +286,6 @@ static void dgnc_free_irq(struct dgnc_board *brd)
 		free_irq(brd->irq, brd);
 }
 
-
  /*
   * As each timer expires, it determines (a) whether the "transmit"
   * waiter needs to be woken up, and (b) whether the poller needs to
-- 
1.9.1

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

end of thread, other threads:[~2017-05-25 11:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25  9:22 [PATCH] fix multiple blank lines coding style problem Aliza Minkov
2017-05-25 10:28 ` Tobin C. Harding
2017-05-25 11:33 Aliza Minkov
2017-05-25 11:37 ` 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).