Skip to contentSkip to conversation

staging: octeon: remove multiple blank lines

PATCH Superseded Gargi Sharma 2 participants 3 messages Sep 13, 2016 – Sep 14, 2016 Staging

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: octeon: remove multiple blank lines

Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.

---
 drivers/staging/octeon/ethernet.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/octeon/ethernet.c +0 -2
index 0bd5c18..ec8e424 100644
@@ -686,7 +686,6 @@ static int cvm_oct_probe(struct platform_device *pdev)
 		return -EINVAL;
 	}
 
-
 	cvm_oct_configure_common_hw();
 
 	cvmx_helper_initialize_packet_io_global();
@@ -929,7 +928,6 @@ static int cvm_oct_remove(struct platform_device *pdev)
 		}
 	}
 
-
 	cvmx_pko_shutdown();
 
 	cvmx_ipd_free_ptr();
Signature · 1 line
2.9.2
#1 lore raw
Quoted 1 line · Gargi Sharma

Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.

You made the wrong choice here. In the v2, there should be a commit message as though no one ever saw the previous version. Then under the --- you should say what has changed. It doesn't need to be very detailed. It could just be "v2: fixed the commit message". Then one can check that the current commit message is ok, and one knows that the patch code has not changed.

julia

Quoted 36 lines
---
 drivers/staging/octeon/ethernet.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/octeon/ethernet.c +0 -3
index 0bd5c18..ec8e424 100644
@@ -686,7 +686,6 @@ static int cvm_oct_probe(struct platform_device *pdev)
 		return -EINVAL;
 	}
 
-
 	cvm_oct_configure_common_hw();
 
 	cvmx_helper_initialize_packet_io_global();
@@ -929,7 +928,6 @@ static int cvm_oct_remove(struct platform_device *pdev)
 		}
 	}
 
-
 	cvmx_pko_shutdown();
 
 	cvmx_ipd_free_ptr();
--

2.9.2

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160913212001.3945-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

#2 lore raw
In reply to Gargi Sharma
Quoted 1 line · Gargi Sharma

Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.

The part above the --- and after the first diff is what will end up in git, to be studied by other developers in the future. So that part should always be put in a way that is most helpful for those people. Between the --- and the first diff disappears. There you can put information that the future doesn't need to know about.

julia

Quoted 36 lines
---
 drivers/staging/octeon/ethernet.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/octeon/ethernet.c +0 -3
index 0bd5c18..ec8e424 100644
@@ -686,7 +686,6 @@ static int cvm_oct_probe(struct platform_device *pdev)
 		return -EINVAL;
 	}
 
-
 	cvm_oct_configure_common_hw();
 
 	cvmx_helper_initialize_packet_io_global();
@@ -929,7 +928,6 @@ static int cvm_oct_remove(struct platform_device *pdev)
 		}
 	}
 
-
 	cvmx_pko_shutdown();
 
 	cvmx_ipd_free_ptr();
--

2.9.2

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160913212001.3945-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.