Skip to contentSkip to conversation

Staging: r8188eu: Fixed block comment

PATCH In review Khadija Kamran 5 participants 6 messages Feb 17, 2023 – Mar 10, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: r8188eu: Fixed block comment

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---
 drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
drivers/staging/r8188eu/core/rtw_br_ext.c +10 -9
index a7c67014dde0..03025dc89533 100644
@@ -36,15 +36,16 @@
 #define WAIT_TIME_PPPOE	5	/*  waiting time for pppoe server in sec */
 
 /*-----------------------------------------------------------------
-  How database records network address:
-	   0    1    2    3    4    5    6    7    8    9   10
-	|----|----|----|----|----|----|----|----|----|----|----|
-  IPv4  |type|                             |      IP addr      |
-  IPX   |type|      Net addr     |          Node addr          |
-  IPX   |type|      Net addr     |Sckt addr|
-  Apple |type| Network |node|
-  PPPoE |type|   SID   |           AC MAC            |
------------------------------------------------------------------*/
+ * How database records network address:
+ *	    0    1    2    3    4    5    6    7    8    9   10
+ *	 |----|----|----|----|----|----|----|----|----|----|----|
+ * IPv4  |type|                             |      IP addr      |
+ * IPX   |type|      Net addr     |          Node addr          |
+ * IPX   |type|      Net addr     |Sckt addr|
+ * Apple |type| Network |node|
+ * PPPoE |type|   SID   |           AC MAC            |
+ * ----------------------------------------------------------------
+ */
 
 /* Find a tag in pppoe frame and return the pointer */
 static unsigned char *__nat25_find_pppoe_tag(struct pppoe_hdr *ph, unsigned short type)
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 28 lines · Khadija Kamran

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---
  drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
  1 file changed, 10 insertions(+), 9 deletions(-)
drivers/staging/r8188eu/core/rtw_br_ext.c +3 -9
index a7c67014dde0..03025dc89533 100644
@@ -36,15 +36,16 @@
  #define WAIT_TIME_PPPOE	5	/*  waiting time for pppoe server in sec */
 
  /*-----------------------------------------------------------------
-  How database records network address:
-	   0    1    2    3    4    5    6    7    8    9   10
-	|----|----|----|----|----|----|----|----|----|----|----|
-  IPv4  |type|                             |      IP addr      |
-  IPX   |type|      Net addr     |          Node addr          |
-  IPX   |type|      Net addr     |Sckt addr|
-  Apple |type| Network |node|
-  PPPoE |type|   SID   |           AC MAC            |
------------------------------------------------------------------*/
+ * How database records network address:
+ *	    0    1    2    3    4    5    6    7    8    9   10
+ *	 |----|----|----|----|----|----|----|----|----|----|----|

drivers/staging/r8188eu/core/rtw_br_ext.c line 51

Quoted 10 lines
drivers/staging/r8188eu/core/rtw_br_ext.c +7 -0
+ * IPv4  |type|                             |      IP addr      |
+ * IPX   |type|      Net addr     |          Node addr          |
+ * IPX   |type|      Net addr     |Sckt addr|
+ * Apple |type| Network |node|
+ * PPPoE |type|   SID   |           AC MAC            |
+ * ----------------------------------------------------------------
+ */
 
  /* Find a tag in pppoe frame and return the pointer */
  static unsigned char *__nat25_find_pppoe_tag(struct pppoe_hdr *ph, unsigned short type)
maintainer
#2 lore raw
In reply to Khadija Kamran
Quoted 7 lines · Khadija Kamran

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---
 drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

This driver is now deleted, so this will not apply for obvious reasons.

thanks,

greg k-h

#3 lore raw
In reply to Khadija Kamran
Quoted 8 lines · On venerdì 17 febbraio 2023 08:17:00 CET Khadija Kamran wrote:

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---
 drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Hi Khadija,

As Greg said this driver is not here any longer. This makes me think that you forgot at least two things...

1) Please pull and rebase the staging tree every day while working on patches during this period of the Outreachy project. If you had done so, you would have noticed that your patch cannot any more be applied.

2) I saw this patch by pure luck because you forgot to Cc the Outreachy list. Therefore, please don't ever forget to Cc that list. Most mentors don't subscribe the linux-staging list.

Thanks,

Fabio

P.S.: Please use an imperative tone, both in the subject and in the commit message. For example this patch could have been written the following way:

staging: axis-fifo: Add "*" to multi-line comment

Add asterisks to each line of a multi-line comment to conform to the Linux development guidelines. Warning reported by checkpatch.pl.

Signed-off-by [...]
#4 lore raw
Quoted 10 lines · Fabio M. De Francesco
Quoted 8 lines · On venerdì 17 febbraio 2023 08:17:00 CET Khadija Kamran wrote:

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---
 drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
Quoted 8 lines

Hi Khadija,

As Greg said this driver is not here any longer. This makes me think that you forgot at least two things...

1) Please pull and rebase the staging tree every day while working on patches during this period of the Outreachy project. If you had done so, you would have noticed that your patch cannot any more be applied.

This patch was sent long before the driver was deleted... The patch was fine and would have been applied if the driver hadn't been removed.

regards,
dan carpenter

#5 lore raw
Quoted 22 lines · On venerdì 10 marzo 2023 13:09:54 CET Dan Carpenter wrote:
Quoted 12 lines · Fabio M. De Francesco
Quoted 8 lines · On venerdì 17 febbraio 2023 08:17:00 CET Khadija Kamran wrote:

Fixed block comment by adding '*' in each line. The Check message was shown by using checkpatch.pl script.

---

 drivers/staging/r8188eu/core/rtw_br_ext.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Hi Khadija,

Quoted 8 lines

As Greg said this driver is not here any longer. This makes me think that you
forgot at least two things...

1) Please pull and rebase the staging tree every day while working on patches
during this period of the Outreachy project. If you had done so, you would have noticed that your patch cannot any more be applied.

Quoted 5 lines

This patch was sent long before the driver was deleted... The patch was fine and would have been applied if the driver hadn't been removed.

regards,
dan carpenter

I'm sorry I did not look at the day of the submission.
I took for granted that this patch had been sent after the contribution period start date, March 6th 2023.

Thanks Dan for making me notice this mistake.

Regards,

Fabio