Skip to content

staging: r8188eu: cleanup unset pointers in

Phillip Potter linux-staging lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14staging: r8188eu: remove rtw_hal_reset_security_engine functiondrivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+0 -90 replies
2/14staging: r8188eu: remove hal_reset_security_engine from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -12 replies
3/14staging: r8188eu: remove rtw_hal_enable_interrupt functiondrivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+0 -90 replies
4/14staging: r8188eu: remove enable_interrupt from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -10 replies
5/14staging: r8188eu: remove rtw_hal_disable_interrupt functiondrivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+0 -100 replies
6/14staging: r8188eu: remove disable_interrupt from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -10 replies
7/14staging: r8188eu: remove rtw_hal_interrupt_handler functiondrivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+0 -90 replies
8/14staging: r8188eu: remove interrupt_handler from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -20 replies
9/14staging: r8188eu: remove rtw_hal_xmitframe_enqueue functiondrivers/staging/r8188eu/core/rtw_recv.c drivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+0 -120 replies
10/14staging: r8188eu: remove hal_xmitframe_enqueue from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -20 replies
11/14staging: r8188eu: remove Efuse_PgPacketWrite_BT functiondrivers/staging/r8188eu/core/rtw_efuse.c+1 -120 replies
12/14staging: r8188eu: remove Efuse_PgPacketWrite_BT from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -20 replies
13/14staging: r8188eu: remove rtw_hal_c2h_id_filter_ccx functiondrivers/staging/r8188eu/core/rtw_cmd.c drivers/staging/r8188eu/hal/hal_intf.c drivers/staging/r8188eu/include/hal_intf.h+2 -130 replies
14/14staging: r8188eu: remove c2h_id_filter_ccx from struct hal_opsdrivers/staging/r8188eu/include/hal_intf.h+0 -10 replies

Reviews trailers per patch

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

PatchDan Carpenter
1/14
2/14R-b
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

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

Read the v1 thread

Cover letter [PATCH 00/14] staging: r8188eu: cleanup unset pointers in

This series removes all remaining pointers from struct hal_ops that are never set anywhere else in the driver. As a part of this, it also takes out the wrapper functions and their callers, given that they mostly never end up calling/returning the function pointer value as they check for NULL.

There are two exceptions to this however, and therefore this series also fixes two potentially triggerable NULL pointer dereference bugs.

Phillip Potter (14):
staging: r8188eu: remove rtw_hal_reset_security_engine function
staging: r8188eu: remove hal_reset_security_engine from struct hal_ops
staging: r8188eu: remove rtw_hal_enable_interrupt function
staging: r8188eu: remove enable_interrupt from struct hal_ops
staging: r8188eu: remove rtw_hal_disable_interrupt function
staging: r8188eu: remove disable_interrupt from struct hal_ops
staging: r8188eu: remove rtw_hal_interrupt_handler function
staging: r8188eu: remove interrupt_handler from struct hal_ops
staging: r8188eu: remove rtw_hal_xmitframe_enqueue function
staging: r8188eu: remove hal_xmitframe_enqueue from struct hal_ops
staging: r8188eu: remove Efuse_PgPacketWrite_BT function
staging: r8188eu: remove Efuse_PgPacketWrite_BT from struct hal_ops
staging: r8188eu: remove rtw_hal_c2h_id_filter_ccx function
staging: r8188eu: remove c2h_id_filter_ccx from struct hal_ops

 drivers/staging/r8188eu/core/rtw_cmd.c     |  9 +----
 drivers/staging/r8188eu/core/rtw_efuse.c   | 13 +------
 drivers/staging/r8188eu/core/rtw_recv.c    |  2 -
 drivers/staging/r8188eu/hal/hal_intf.c     | 44 ----------------------
 drivers/staging/r8188eu/include/hal_intf.h | 19 ----------
 5 files changed, 3 insertions(+), 84 deletions(-)
Signature · 1 line
2.31.1