linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
@ 2016-08-30 19:04 Moshe Green
  2016-08-30 19:04 ` [PATCH 2/9] " Moshe Green
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:04 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix a line length warning found by the checkpatch.pl tool in
ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index c1356bb..fb27eb4 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -71,7 +71,7 @@ static void setChipClock(unsigned int frequency)
 		pll.clockType = MXCLK_PLL;
 
 		/*
-		* Call calcPllValue() to fill up the other fields for PLL structure.
+		* Call calcPllValue() to fill the other fields of PLL structure.
 		* Sometime, the chip cannot set up the exact clock required by User.
 		* Return value from calcPllValue() gives the actual possible clock.
 		*/
-- 
2.7.4

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

* [PATCH 2/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
@ 2016-08-30 19:04 ` Moshe Green
  2016-08-30 19:04 ` [PATCH 3/9] staging: sm750fb: fix coding style issues " Moshe Green
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:04 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix a line length warning found by the checkpatch.pl tool in
ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index fb27eb4..a0e7771 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -94,8 +94,8 @@ static void setMemoryClock(unsigned int frequency)
 
 	if (frequency) {
 		/*
-		 * Set the frequency to the maximum frequency that the DDR Memory can take
-		 * which is 336MHz.
+		 * Set the frequency to the maximum frequency
+		 * that the DDR Memory can take which is 336MHz.
 		 */
 		if (frequency > MHz(336))
 			frequency = MHz(336);
-- 
2.7.4

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

* [PATCH 3/9] staging: sm750fb: fix coding style issues in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
  2016-08-30 19:04 ` [PATCH 2/9] " Moshe Green
@ 2016-08-30 19:04 ` Moshe Green
  2016-08-30 19:04 ` [PATCH 4/9] " Moshe Green
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:04 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix line length and block comment * prefix warnings found
by the checkpatch.pl tool in ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index a0e7771..577a279 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -144,8 +144,9 @@ static void setMasterClock(unsigned int frequency)
 		return;
 
 	if (frequency) {
-		/* Set the frequency to the maximum frequency that the SM750 engine can
-		run, which is about 190 MHz. */
+		/* Set the frequency to the maximum frequency
+		 * that the SM750 engine can run, which is about 190 MHz.
+		*/
 		if (frequency > MHz(190))
 			frequency = MHz(190);
 
-- 
2.7.4

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

* [PATCH 4/9] staging: sm750fb: fix coding style issues in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
  2016-08-30 19:04 ` [PATCH 2/9] " Moshe Green
  2016-08-30 19:04 ` [PATCH 3/9] staging: sm750fb: fix coding style issues " Moshe Green
@ 2016-08-30 19:04 ` Moshe Green
  2016-08-30 19:05 ` [PATCH 5/9] " Moshe Green
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:04 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix line length and block comment * prefix warnings found
by the checkpatch.pl tool in ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 577a279..f15800a 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -243,9 +243,10 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 	setMasterClock(MHz(pInitParam->masterClock));
 
 
-	/* Reset the memory controller. If the memory controller is not reset in SM750,
-	   the system might hang when sw accesses the memory.
-	   The memory should be resetted after changing the MXCLK.
+	/* Reset the memory controller.
+	 * If the memory controller is not reset in SM750,
+	 * the system might hang when sw accesses the memory.
+	 * The memory should be resetted after changing the MXCLK.
 	 */
 	if (pInitParam->resetMemory == 1) {
 		reg = PEEK32(MISC_CTRL);
-- 
2.7.4

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

* [PATCH 5/9] staging: sm750fb: fix coding style issues in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (2 preceding siblings ...)
  2016-08-30 19:04 ` [PATCH 4/9] " Moshe Green
@ 2016-08-30 19:05 ` Moshe Green
  2016-08-30 19:05 ` [PATCH 6/9] staging: sm750fb: fix line length coding style issue " Moshe Green
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:05 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix line length and block comment * prefix warnings found
by the checkpatch.pl tool in ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index f15800a..13f8a36 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -290,21 +290,22 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 }
 
 /*
-	monk liu @ 4/6/2011:
-		   re-write the calculatePLL function of ddk750.
-		   the original version function does not use some mathematics tricks and shortcut
-		   when it doing the calculation of the best N,M,D combination
-		   I think this version gives a little upgrade in speed
-
-	750 pll clock formular:
-	Request Clock = (Input Clock * M )/(N * X)
-
-	Input Clock = 14318181 hz
-	X = 2 power D
-	D ={0,1,2,3,4,5,6}
-	M = {1,...,255}
-	N = {2,...,15}
-*/
+ * monk liu @ 4/6/2011:
+ *	re-write the calculatePLL function of ddk750.
+ *	the original version function does not use
+ *	some mathematics tricks and shortcut when it doing
+ *	the calculation of the best N,M,D combination
+ *	I think this version gives a little upgrade in speed
+ *
+ *  750 pll clock formular:
+ *  Request Clock = (Input Clock * M )/(N * X)
+ *
+ * Input Clock = 14318181 hz
+ * X = 2 power D
+ * D ={0,1,2,3,4,5,6}
+ * M = {1,...,255}
+ * N = {2,...,15}
+ */
 unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 {
 	/* as sm750 register definition, N located in 2,15 and M located in 1,255	*/
-- 
2.7.4

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

* [PATCH 6/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (3 preceding siblings ...)
  2016-08-30 19:05 ` [PATCH 5/9] " Moshe Green
@ 2016-08-30 19:05 ` Moshe Green
  2016-08-30 19:05 ` [PATCH 7/9] staging: sm750fb: fix block comment style issues " Moshe Green
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:05 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix a line length warning found by the checkpatch.pl tool in
ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 13f8a36..5e954ea 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -308,7 +308,9 @@ int ddk750_initHw(initchip_param_t *pInitParam)
  */
 unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 {
-	/* as sm750 register definition, N located in 2,15 and M located in 1,255	*/
+	/* as sm750 register definition,
+	 * N located in 2,15 and M located in 1,255
+	 */
 	int N, M, X, d;
 	int mini_diff;
 	unsigned int RN, quo, rem, fl_quo;
-- 
2.7.4

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

* [PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (4 preceding siblings ...)
  2016-08-30 19:05 ` [PATCH 6/9] staging: sm750fb: fix line length coding style issue " Moshe Green
@ 2016-08-30 19:05 ` Moshe Green
  2016-08-30 19:19   ` Joe Perches
  2016-08-30 19:05 ` [PATCH 8/9] staging: sm750fb: fix line length coding style issue " Moshe Green
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:05 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix block comment * prefix and trailing */ warnings found
by the checkpatch.pl tool in ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 5e954ea..c59fe22 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -320,8 +320,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 	int max_d = 6;
 
 	if (getChipType() == SM750LE) {
-		/* SM750LE don't have prgrammable PLL and M/N values to work on.
-		Just return the requested clock. */
+		/* SM750LE don't have
+		 * prgrammable PLL and M/N values to work on.
+		 * Just return the requested clock.
+		 */
 		return request_orig;
 	}
 
-- 
2.7.4

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

* [PATCH 8/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (5 preceding siblings ...)
  2016-08-30 19:05 ` [PATCH 7/9] staging: sm750fb: fix block comment style issues " Moshe Green
@ 2016-08-30 19:05 ` Moshe Green
  2016-08-30 19:06 ` [PATCH 9/9] " Moshe Green
  2016-09-01 16:04 ` [PATCH 1/9] " Greg KH
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:05 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix a line length warning found by the checkpatch.pl tool in
ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index c59fe22..07c2537 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -332,7 +332,9 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 	request = request_orig / 1000;
 	input = pll->inputFreq / 1000;
 
-	/* for MXCLK register , no POD provided, so need be treated differently	*/
+	/* for MXCLK register,
+	 * no POD provided, so need be treated differently.
+	 */
 	if (pll->clockType == MXCLK_PLL)
 		max_d = 3;
 
-- 
2.7.4

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

* [PATCH 9/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (6 preceding siblings ...)
  2016-08-30 19:05 ` [PATCH 8/9] staging: sm750fb: fix line length coding style issue " Moshe Green
@ 2016-08-30 19:06 ` Moshe Green
  2016-09-01 16:04 ` [PATCH 1/9] " Greg KH
  8 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-08-30 19:06 UTC (permalink / raw)
  To: sudipm.mukherjee, teddy.wang, gregkh; +Cc: linux-fbdev, devel, linux-kernel

Fix a line length warning found by the checkpatch.pl tool in
ddk750_chip.c.

Signed-off-by: Moshe Green <mgmoshes@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 07c2537..0049e5d 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -339,7 +339,9 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 		max_d = 3;
 
 	for (N = 15; N > 1; N--) {
-		/* RN will not exceed maximum long if @request <= 285 MHZ (for 32bit cpu) */
+		/* RN will not exceed maximum long
+		 * if @request <= 285 MHZ (for 32bit cpu)
+		 */
 		RN = N * request;
 		quo = RN / input;
 		rem = RN % input;/* rem always small than 14318181 */
-- 
2.7.4

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

* Re: [PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c
  2016-08-30 19:05 ` [PATCH 7/9] staging: sm750fb: fix block comment style issues " Moshe Green
@ 2016-08-30 19:19   ` Joe Perches
  2016-08-30 19:42     ` moshe green
  0 siblings, 1 reply; 15+ messages in thread
From: Joe Perches @ 2016-08-30 19:19 UTC (permalink / raw)
  To: Moshe Green, sudipm.mukherjee, teddy.wang, gregkh
  Cc: linux-fbdev, devel, linux-kernel

On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote:
> Fix block comment * prefix and trailing */ warnings found
> by the checkpatch.pl tool in ddk750_chip.c.
[]
> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
[]
> @@ -320,8 +320,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
>  	int max_d = 6;
>  
>  	if (getChipType() == SM750LE) {
> -		/* SM750LE don't have prgrammable PLL and M/N values to work on.
> -		Just return the requested clock. */
> +		/* SM750LE don't have
> +		 * prgrammable PLL and M/N values to work on

Might as well fix the programmable typo too.

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

* Re: [PATCH 7/9] staging: sm750fb: fix block comment style issues in ddk750_chip.c
  2016-08-30 19:19   ` Joe Perches
@ 2016-08-30 19:42     ` moshe green
  0 siblings, 0 replies; 15+ messages in thread
From: moshe green @ 2016-08-30 19:42 UTC (permalink / raw)
  To: Joe Perches
  Cc: Sudip Mukherjee, teddy.wang, gregkh, linux-fbdev, devel, linux-kernel

Will do.
Thanks

On 30 August 2016 at 22:19, Joe Perches <joe@perches.com> wrote:
> On Tue, 2016-08-30 at 22:05 +0300, Moshe Green wrote:
>> Fix block comment * prefix and trailing */ warnings found
>> by the checkpatch.pl tool in ddk750_chip.c.
> []
>> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
> []
>> @@ -320,8 +320,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
>>       int max_d = 6;
>>
>>       if (getChipType() == SM750LE) {
>> -             /* SM750LE don't have prgrammable PLL and M/N values to work on.
>> -             Just return the requested clock. */
>> +             /* SM750LE don't have
>> +              * prgrammable PLL and M/N values to work on
>
> Might as well fix the programmable typo too.
>

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

* Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
                   ` (7 preceding siblings ...)
  2016-08-30 19:06 ` [PATCH 9/9] " Moshe Green
@ 2016-09-01 16:04 ` Greg KH
  2016-09-02  8:28   ` moshe green
  8 siblings, 1 reply; 15+ messages in thread
From: Greg KH @ 2016-09-01 16:04 UTC (permalink / raw)
  To: Moshe Green
  Cc: sudipm.mukherjee, teddy.wang, devel, linux-fbdev, linux-kernel

On Tue, Aug 30, 2016 at 10:04:02PM +0300, Moshe Green wrote:
> Fix a line length warning found by the checkpatch.pl tool in
> ddk750_chip.c.
> 
> Signed-off-by: Moshe Green <mgmoshes@gmail.com>
> ---
>  drivers/staging/sm750fb/ddk750_chip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Lots of the patches in this series have the same exact subject: line,
yet they do different things.  Please fix them up and make them more
obvious, or even better yet, merge them into less patches (one type of
thing per file per patch, not one single change per patch).

thanks,

greg k-h

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

* Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-09-01 16:04 ` [PATCH 1/9] " Greg KH
@ 2016-09-02  8:28   ` moshe green
  2016-09-02 11:35     ` Greg KH
  0 siblings, 1 reply; 15+ messages in thread
From: moshe green @ 2016-09-02  8:28 UTC (permalink / raw)
  To: Greg KH; +Cc: Sudip Mukherjee, teddy.wang, devel, linux-fbdev, linux-kernel

There were (mostly) two kinds of warnings that I've handled, "80
character line length" and block comments structure.
Some of the changes involve handling two separate warnings in a single comment.
Where this occurs, should I break down the change into two steps -
fixing a warning at a time?
Or should I fix both warnings in the same commit - and place the
commit in the most appropriate patch?
thanks

Moshe Green

On 1 September 2016 at 19:04, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Tue, Aug 30, 2016 at 10:04:02PM +0300, Moshe Green wrote:
>> Fix a line length warning found by the checkpatch.pl tool in
>> ddk750_chip.c.
>>
>> Signed-off-by: Moshe Green <mgmoshes@gmail.com>
>> ---
>>  drivers/staging/sm750fb/ddk750_chip.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Lots of the patches in this series have the same exact subject: line,
> yet they do different things.  Please fix them up and make them more
> obvious, or even better yet, merge them into less patches (one type of
> thing per file per patch, not one single change per patch).
>
> thanks,
>
> greg k-h

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

* Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-09-02  8:28   ` moshe green
@ 2016-09-02 11:35     ` Greg KH
  2016-09-03 19:57       ` Moshe Green
  0 siblings, 1 reply; 15+ messages in thread
From: Greg KH @ 2016-09-02 11:35 UTC (permalink / raw)
  To: moshe green; +Cc: devel, linux-kernel, linux-fbdev, Sudip Mukherjee, teddy.wang


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?


http://daringfireball.net/2007/07/on_top

On Fri, Sep 02, 2016 at 11:28:51AM +0300, moshe green wrote:
> There were (mostly) two kinds of warnings that I've handled, "80
> character line length" and block comments structure.
> Some of the changes involve handling two separate warnings in a single comment.
> Where this occurs, should I break down the change into two steps -
> fixing a warning at a time?
> Or should I fix both warnings in the same commit - and place the
> commit in the most appropriate patch?

Hm, use your best judgement here, what would you want to be on the
receiving end of if you had to review such a patch series?

thanks,

greg k-h

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

* Re: [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c
  2016-09-02 11:35     ` Greg KH
@ 2016-09-03 19:57       ` Moshe Green
  0 siblings, 0 replies; 15+ messages in thread
From: Moshe Green @ 2016-09-03 19:57 UTC (permalink / raw)
  To: Greg KH; +Cc: devel, linux-kernel, linux-fbdev, Sudip Mukherjee, teddy.wang

On Fri, Sep 02, 2016 at 01:35:08PM +0200, Greg KH wrote:
> 
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
> 
> A: No.
> Q: Should I include quotations after my reply?
> 
> 
> http://daringfireball.net/2007/07/on_top
> 
> On Fri, Sep 02, 2016 at 11:28:51AM +0300, moshe green wrote:
> > There were (mostly) two kinds of warnings that I've handled, "80
> > character line length" and block comments structure.
> > Some of the changes involve handling two separate warnings in a single comment.
> > Where this occurs, should I break down the change into two steps -
> > fixing a warning at a time?
> > Or should I fix both warnings in the same commit - and place the
> > commit in the most appropriate patch?
> 
> Hm, use your best judgement here, what would you want to be on the
> receiving end of if you had to review such a patch series?
> 
> thanks,
> 
> greg k-h

Will do.

thanks,

Moshe Green

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

end of thread, other threads:[~2016-09-03 19:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-30 19:04 [PATCH 1/9] staging: sm750fb: fix line length coding style issue in ddk750_chip.c Moshe Green
2016-08-30 19:04 ` [PATCH 2/9] " Moshe Green
2016-08-30 19:04 ` [PATCH 3/9] staging: sm750fb: fix coding style issues " Moshe Green
2016-08-30 19:04 ` [PATCH 4/9] " Moshe Green
2016-08-30 19:05 ` [PATCH 5/9] " Moshe Green
2016-08-30 19:05 ` [PATCH 6/9] staging: sm750fb: fix line length coding style issue " Moshe Green
2016-08-30 19:05 ` [PATCH 7/9] staging: sm750fb: fix block comment style issues " Moshe Green
2016-08-30 19:19   ` Joe Perches
2016-08-30 19:42     ` moshe green
2016-08-30 19:05 ` [PATCH 8/9] staging: sm750fb: fix line length coding style issue " Moshe Green
2016-08-30 19:06 ` [PATCH 9/9] " Moshe Green
2016-09-01 16:04 ` [PATCH 1/9] " Greg KH
2016-09-02  8:28   ` moshe green
2016-09-02 11:35     ` Greg KH
2016-09-03 19:57       ` Moshe Green

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).