mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/8] staging:r8188eu: change rtl8188e_process_phy_info function argument type
@ 2016-09-30 14:36 Ivan Safonov
  2016-09-30 14:36 ` [PATCH 2/8] staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros Ivan Safonov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ivan Safonov @ 2016-09-30 14:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Luca Ceresoli, Kyle Kuffermann, devel, linux-kernel
  Cc: insafonov

prframe is (void *), but function used only with (struct recv_frame *).

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c   | 5 ++---
 drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c
index 8aea710..fa2cfd5 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c
@@ -57,10 +57,9 @@ static void process_link_qual(struct adapter *padapter,
 	signal_stat->avg_val = signal_stat->total_val / signal_stat->total_num;
 }
 
-void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe)
+void rtl8188e_process_phy_info(struct adapter *padapter,
+		               struct recv_frame *precvframe)
 {
-	struct recv_frame *precvframe = prframe;
-
 	/*  Check RSSI */
 	process_rssi(padapter, precvframe);
 	/*  Check EVM */
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_recv.h b/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
index 516c6d7..80832a5 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
@@ -54,7 +54,8 @@ enum rx_packet_type {
 void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf);
 void rtl8188eu_recv_tasklet(void *priv);
 void rtl8188e_query_rx_phy_status(struct recv_frame *fr, struct phy_stat *phy);
-void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe);
+void rtl8188e_process_phy_info(struct adapter *padapter,
+			       struct recv_frame *prframe);
 void update_recvframe_phyinfo_88e(struct recv_frame *fra, struct phy_stat *phy);
 void update_recvframe_attrib_88e(struct recv_frame *fra,
 				 struct recv_stat *stat);
-- 
2.7.3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-30 14:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 14:36 [PATCH 1/8] staging:r8188eu: change rtl8188e_process_phy_info function argument type Ivan Safonov
2016-09-30 14:36 ` [PATCH 2/8] staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros Ivan Safonov
2016-09-30 14:36 ` [PATCH 3/8] staging:r8188eu: remove rtw_handle_dualmac declaration Ivan Safonov
2016-09-30 14:36 ` [PATCH 4/8] staging:r8188eu: remove pkt_newalloc member of the recv_buf structure Ivan Safonov
2016-09-30 14:36 ` [PATCH 5/8] staging:r8188eu: remove GEN_CMD_CODE macro Ivan Safonov
2016-09-30 14:36 ` [PATCH 6/8] staging:r8188eu: remove GEN_EVT_CODE macro Ivan Safonov
2016-09-30 14:36 ` [PATCH 7/8] staging:r8188eu: remove GEN_DRV_CMD_HANDLER macro Ivan Safonov
2016-09-30 14:36 ` [PATCH 8/8] staging:r8188eu: remove GEN_MLME_EXT_HANDLER macro Ivan Safonov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®