Skip to content

staging: rtl8712: code improvment and bug fixes

Pavel Skripkin linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: rtl8712: remove redundant check in r871xu_drv_initdrivers/staging/rtl8712/usb_intf.c+4 -60 replies
2/3staging: rtl8712: fix error handling in r871xu_drv_initdrivers/staging/rtl8712/os_intfs.c drivers/staging/rtl8712/usb_intf.c+13 -130 replies
3/3staging: rtl8712: fix memory leak in rtl871x_load_fw_cbdrivers/staging/rtl8712/hal_init.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] staging: rtl8712: code improvment and bug fixes

In this patch series I fixed 2 memory leaks in rtl8712 driver and made some code improvment. In the fisrt patch I removed redundant branching to improve code speed and make it more straightforward.

The folowing 2 pathes fix 2 memory leaks in this driver. The first one fixes memory leak in the error handling path in r871xu_drv_init and the second one fixes memory leak in case of fw load failure.

Pavel Skripkin (3):
staging: rtl8712: remove redundant check in r871xu_drv_init
staging: rtl8712: fix error handling in r871xu_drv_init
staging: rtl8712: fix memory leak in rtl871x_load_fw_cb

 drivers/staging/rtl8712/hal_init.c |  3 +++
 drivers/staging/rtl8712/os_intfs.c |  4 ----
 drivers/staging/rtl8712/usb_intf.c | 32 ++++++++++++++++--------------
 3 files changed, 20 insertions(+), 19 deletions(-)
Signature · 1 line
2.32.0