Skip to contentSkip to conversation

staging: r8188eu: Provide a TODO file for this driver

PATCH Superseded Fabio M. De Francesco 4 participants 4 messages Aug 26, 2021 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: Provide a TODO file for this driver

Provide a TODO file that lists the tasks that should be carried out in order to move this driver off drivers/staging.

---

Thanks to Phillip Potter <[email protected]> for for providing the first draft.

 drivers/staging/r8188eu/TODO | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 drivers/staging/r8188eu/TODO
drivers/staging/r8188eu/TODO new file +16 -0
new file mode 100644
index 000000000000..4bccca69abac
@@ -0,0 +1,16 @@
+To-do list:
+
+* Correct the coding style according to Linux guidelines; please read the document
+at https://www.kernel.org/doc/html/latest/process/coding-style.html.
+* Remove unnecessary debugging/printing macros; for those that are still needed
+use the proper kernel API (pr_debug(), dev_dbg(), netdev_dbg()).
+* Remove dead code such as unusued functions, variables, fields, etc..
+* Use in-kernel API and remove unnecessary wrappers where possible.
+* Remove the HAL layer and migrate its functionality into the relevant parts of
+the driver.
+* Switch to use LIB80211 (This work is currently in development by Larry Finger).
+* Switch to use MAC80211 (This work is currently in development by Larry Finger).
+
+Please send any patches to Greg Kroah-Hartman <[email protected]>,
+Larry Finger <[email protected]>, Phillip Potter <[email protected]>
+and CC [email protected], [email protected].
Signature · 1 line
2.32.0
#1 lore raw

Hello Fabio,

Quoted 20 lines · Fabio M. De Francesco

Provide a TODO file that lists the tasks that should be carried out in order to move this driver off drivers/staging.

---

Thanks to Phillip Potter <[email protected]> for for providing the first draft.

 drivers/staging/r8188eu/TODO | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 drivers/staging/r8188eu/TODO
drivers/staging/r8188eu/TODO new file +2 -0
new file mode 100644
index 000000000000..4bccca69abac
@@ -0,0 +1,16 @@
+To-do list:
+

drivers/staging/r8188eu/TODO line 12

Quoted 10 lines
drivers/staging/r8188eu/TODO new file +10 -0
+* Correct the coding style according to Linux guidelines; please read the document
+at https://www.kernel.org/doc/html/latest/process/coding-style.html.
+* Remove unnecessary debugging/printing macros; for those that are still needed
+use the proper kernel API (pr_debug(), dev_dbg(), netdev_dbg()).
+* Remove dead code such as unusued functions, variables, fields, etc..
+* Use in-kernel API and remove unnecessary wrappers where possible.
+* Remove the HAL layer and migrate its functionality into the relevant parts of
+the driver.
+* Switch to use LIB80211 (This work is currently in development by Larry Finger).
+* Switch to use MAC80211 (This work is currently in development by Larry Finger).

Maybe I'm wrong but I think Larry is working on cfg80211 not exactly with lib80211 or mac80211. So I'd remove the clauses on parentheses.

Quoted 8 lines
drivers/staging/r8188eu/TODO new file +4 -0
+
+Please send any patches to Greg Kroah-Hartman <[email protected]>,
+Larry Finger <[email protected]>, Phillip Potter <[email protected]>
+and CC [email protected], [email protected].
Signature · 1 line
2.32.0

thank you,

fabio

#2 lore raw
Quoted 3 lines · Fabio Aiuto

Maybe I'm wrong but I think Larry is working on cfg80211 not exactly with lib80211 or mac80211. So I'd remove the clauses on parentheses.

That is correct. I am not changing it to work with mac80211 - merely cfg80211. Making it work with mac80211 would be a worthy goal, but not mine.

Larry

maintainer
#3 lore raw
In reply to Fabio M. De Francesco
Quoted 18 lines · Fabio M. De Francesco

Provide a TODO file that lists the tasks that should be carried out in order to move this driver off drivers/staging.

---

Thanks to Phillip Potter <[email protected]> for for providing the first draft.

 drivers/staging/r8188eu/TODO | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 drivers/staging/r8188eu/TODO
drivers/staging/r8188eu/TODO new file +0 -0
new file mode 100644
index 000000000000..4bccca69abac

drivers/staging/r8188eu/TODO line 4

Quoted 4 lines
drivers/staging/r8188eu/TODO new file +4 -0
@@ -0,0 +1,16 @@
+To-do list:
+
+* Correct the coding style according to Linux guidelines; please read the document
+at https://www.kernel.org/doc/html/latest/process/coding-style.html.

Indent and properly wrap your lines at the right width please.

drivers/staging/r8188eu/TODO line 12

Quoted 8 lines
drivers/staging/r8188eu/TODO new file +8 -0
+* Remove unnecessary debugging/printing macros; for those that are still needed
+use the proper kernel API (pr_debug(), dev_dbg(), netdev_dbg()).
+* Remove dead code such as unusued functions, variables, fields, etc..
+* Use in-kernel API and remove unnecessary wrappers where possible.
+* Remove the HAL layer and migrate its functionality into the relevant parts of
+the driver.
+* Switch to use LIB80211 (This work is currently in development by Larry Finger).
+* Switch to use MAC80211 (This work is currently in development by Larry Finger).

No need to say "is being done by XXX" anywhere, as that stops people from helping out on this instantly.

drivers/staging/r8188eu/TODO line 16

Quoted 3 lines
drivers/staging/r8188eu/TODO new file +3 -0
+Please send any patches to Greg Kroah-Hartman <[email protected]>,
+Larry Finger <[email protected]>, Phillip Potter <[email protected]>
+and CC [email protected], [email protected].

As the MAINTAINERS file lists this properly, no need for this paragraph. That can also be removed from any remaining TODO files that have it in it that also have correct MAINTAINERS entries.

thanks,

greg k-h