Skip to contentSkip to conversation

staging: octeon: remove multiple blank lines

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

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

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

Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v2
- Change the commit subject to :Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v3
- Make the commit message more clearer. Also, fixed the subject mistake in v2.

---
 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 11 lines · Gargi Sharma

Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v2
- Change the commit subject to :Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v3
- Make the commit message more clearer. Also, fixed the subject mistake in v2.

Quoted 2 lines

---

Changes in v4
- moved the version history down here.

Take a look at some patches in mailing lists with v# and you'll see how it's done. The version history goes after the Signed off and after the --- but you don't repeat the --- for each version.

Quoted 32 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 · 8 lines
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/20160914002652.12359-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
#2 lore raw
In reply to Gargi Sharma
Quoted 10 lines · Gargi Sharma

Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v2
- Change the commit subject to :Correcting the commit message. Fixes the checkpatch issue Please don't use multiple blank lines.
---
Changes in v3
- Make the commit message more clearer. Also, fixed the subject mistake in v2.

You only need one ---, no matter how much text you want to write. It would be better for the v3 stuff to come first, since that is the most relevant for the person who has been following along.

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/20160914002652.12359-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.