Skip to content

staging: r8188eu: Use new usb_control_msg_recv/send()

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 8 repliesIn review
  2. v22 patches 13 repliesSuperseded
  3. v12 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: r8188eu: Use usb_control_msg_recv/send() in usbctrl_vendorreq()drivers/staging/r8188eu/hal/usb_ops_linux.c+17 -288 replies
2/2staging: r8188eu: Make clean-ups in usbctrl_vendorreq()drivers/staging/r8188eu/hal/usb_ops_linux.c+11 -110 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPavel Skripkin
1/2R-b T-b
2/2

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/2] staging: r8188eu: Use new usb_control_msg_recv/send()

Replace usb_control_msg() with the new usb_control_msg_recv() and usb_control_msg_send() API of USB Core in usbctrl_vendorreq(). Remove no more needed variables. Move out of an if-else block some code that it is no more dependent on status < 0. Remove redundant code depending on status > 0 or status == len.

After replacing usb_control_msg() with the new usb_control_msg_recv() and usb_control_msg_send() API of USB Core, remove camelcase from the pIo_buf variable that is passed as argument to the new API and remove the initial 'p' (that probably stands for "pointer") from the same pIo_buf and from the pintfhdl and pdata arguments of usbctrl_vendorreq().

Fabio M. De Francesco (2):
staging: r8188eu: Use usb_control_msg_recv/send() in
usbctrl_vendorreq()
staging: r8188eu: Make some clean-ups in usbctrl_vendorreq()

 drivers/staging/r8188eu/hal/usb_ops_linux.c | 65 +++++++++------------
 1 file changed, 27 insertions(+), 38 deletions(-)
Signature · 1 line
2.32.0