Skip to content

staging: r8188eu: use completions and clean rtw_cmd_thread()

Fabio M. De Francesco linux-staging lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

	Patch 1/3:
		No changes;
	Patch 2/3:
		No changes;
	Patch 3/3:
		Furher process the commit message according to a review
		by Greg Kroah-Hartman <[email protected]>>.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: r8188eu: Use completions for signaling start / end kthreaddrivers/staging/r8188eu/core/rtw_cmd.c drivers/staging/r8188eu/include/rtw_cmd.h drivers/staging/r8188eu/os_dep/os_intfs.c+10 -60 replies
2/3staging: r8188eu: Use completions for signaling enqueueingdrivers/staging/r8188eu/core/rtw_cmd.c drivers/staging/r8188eu/include/rtw_cmd.h drivers/staging/r8188eu/os_dep/os_intfs.c+5 -60 replies
3/3staging: r8188eu: Remove redundant 'if' statementdrivers/staging/r8188eu/core/rtw_cmd.c+0 -60 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPhillip PotterMartin Kaiser
1/3A-b
2/3A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] staging: r8188eu: use completions and clean rtw_cmd_thread()

This series replaces two semaphores with three completion variables in rtw_cmd_thread(). Completions variables are better suited for the purposes that are explained in detail in the commit messages of patches 1/3 and 2/3. Furthermore, patch 3/3 removes a redundant 'if' statement from that same rtw_cmd_thread().

Tested with ASUSTek Computer, Inc. Realtek 8188EUS [USB-N10 Nano]

Many thanks to Dan Carpenter <[email protected]> who helped with his review of the RFC Patch.

v2 => v3:

	Patch 1/3:
		No changes;
	Patch 2/3:
		No changes;
	Patch 3/3:
		Furher process the commit message according to a review
		by Greg Kroah-Hartman <[email protected]>>.

v1 => v2:

        Patch 1/3: 
		No changes;
        Patch 2/3: 
		Replace wait_for_completion_killable() with
		wait_for_completion() because killing the kthread is
                not allowed and so there is no need for killable
                wait;
        Patch 3/3: 
		No changes.

Fabio M. De Francesco (3):
staging: r8188eu: Use completions for signaling start / end kthread
staging: r8188eu: Use completions for signaling enqueueing
staging: r8188eu: Remove redundant 'if' statement

 drivers/staging/r8188eu/core/rtw_cmd.c    | 20 +++++++-------------
 drivers/staging/r8188eu/include/rtw_cmd.h |  5 +++--
 drivers/staging/r8188eu/os_dep/os_intfs.c |  8 +++++---
 3 files changed, 15 insertions(+), 18 deletions(-)
Signature · 1 line
2.33.0